I have tried to run it under the firefox 3.6 environment ( near to k-memelon ),but I couldn't see the
download button in youtube, or download
icon.
Only show The status bar icon
which sent the page to the addon site .
Maybe it's firefox sitting , or just youtube has changed it's codes (last news in the site 14.10.2011 ) .
==================================
Anyway I took a look inside the content folder, and found the following:
1-the chrome overlay the browser.xul [firefox] with the panel.xul , which call the main js & create the statusbar\toolbar icon + popup menu & get string files .
2- The Other options.xul file called from main.optionMenu & it handle the pref values gui .
3- The main js , add eventListener load pags to run it's "run functions" ,which use preferences-service in the gecko XPCOM components to chack the addon state in pref then it call the start function.
4-the start function import javascript Modules utils.jsm &json.jsm using the Components.utils.import("resource://savefrom/**.jsm"),
[The js Modules (jsm) is simpl JavaScript code used to global & share the code between scopes. and use the array "EXPORTED_SYMBOLS" to return the function present in it.]
, then the start function call the setPanelView which create the buttons&it's commands .
4-the other important is the function moduleParams , which defined the meodual that need to import & the function runModule\ loadModule import it .
5-the other functions do some other unessential job.
6-The Module files extract video files from dailymotion,vimeo,youtube,vkontakte & it's embed + download + decode base64 .
If the sites changed it's codes , these files only modifed.
And as i said earlier , it didn't work under my version of firefox.
========================================================
Quote
rodocop
Well, first of all, this is very interesting one, especially for russian-speaking users (it supports vk.com - popular russian analogue of facebook).
The next point is education.
You can use internet download manger (idm) addon +
oGet extension ,to download flash\video.
1-Extract the components folder (this folder only) from idm-folder\idmmzcc.xpi , put it in components folder & Install oGet .
2.Delete [ compreg.dat & xpti.dat ] in components folder (it will regenerate again , it's like components database ).
Use the macro in this
post Only the macro the other files is useless .
Edited 4 time(s). Last edit at 12/07/2012 02:48PM by Merlin.