To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!
CloseWelcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.
CloseReview for WikiLook by phunkateer
Rated 4 out of 5 stars
I have collected the solutions to make this great add-on working... the two explanations describe the same solution, so you only need to follow one of them.
With FF 43, you need to change the options in the browser to make your modified "unsigned" add-on working, and after FF 44, it will not work!
"Firefox 43: Firefox will have a preference that allows signature enforcement to be disabled (xpinstall.signatures.required in about:config).
Firefox 44: Release and Beta versions of Firefox will not allow unsigned extensions to be installed, with no override."
------
SOLUTIONS:
a)
With ff21, I get a syntax error in the error console, that stops wikilook 2.7.0 from finishing loading.
In the file chrome/wikilook/content/wikilook.js line 4746 is not valid syntax in the newer javascript engine:
globalPackageWL.WikiLook_Overlay.PMaker.WLWTajaxCallbackImpl(res.expandtemplates.*);
Changing that line to an alternate equivalent syntax:
globalPackageWL.WikiLook_Overlay.PMaker.WLWTajaxCallbackImpl(res.expandtemplates['*']);
works for me - all of wikilook is functional with ff21.
Contrary to what has been mentioned, I don't see where wikilook is using the deprecated E2X syntax.
In any case, that wouldn't require a complete re-write.
Alan
b)
To get the full file name, you have to know the path to Firefox's profile. Do this:
Enter this special URL in the address line: about:support
You'll get a page with title "Troubleshooting Information".
In the top third you find a table with "Application Basics"; it contains a row "Profile folder" with a button labeled "Show Folder". Press the button.
An Explorer window will open showing the location and the contents of your profile. Now you'll have to navigate through several levels of sub-directories...
Open folders extensions, then wikilook@testpilot. You are now on the level Alan was when he said "In the file chrome/wikilook/content/wikilook.js line 4746 is not valid syntax".
Dive down through folders chrome -> wikilook -> content. Now you can see file wikilook.js. Select it (don't execute). Terminate Firefox before you edit this file.
Editing wikilook.js may be a problem for the inexperienced user. There are 2 options:
Use a good editor (as I did) which can handle Unix line-breaks (Windows' Notepad cannot, see below).
You can drag & drop the file into the editor's window (if that doesn't work, you now know the full path of the file anyway).
Then go to line 4746 (or do the search shown below) and apply Alan's change.
If you have no other editor than Windows' Notepad, do the following: Right-click at wikilook.js and select edit from the menu (not open, don't double-click).
This will load the file into the Notepad editor. Bad surprise: the whole text is shown as one huge continuous line! But you're not lost. Just search (Ctrl+F) for res.expandtemplates.* and apply the change. (res.expandtemplates.* => res.expandtemplates['*'])
To create your own collections, you must have a Mozilla Add-ons account.