How do I edit an add on
Normally add ons are perfect the way they are but recently I downloaded the add on "delaysites" to help with my procrastination.
It seems to work fine, but the list of websites it applies to is very small. One of the commentators states that the add on uses a blacklist to keep track of which websites it applies to and which it doesn't. It looks easy enough to edit if I could find the program.
My problem is I can't figure out where the add on is saved! When I go to the list in my browser there is no "edit" "options" or "open file here" button. When I search my computer I am unable to find the add ons folder or this add on in particular.
So my question is, how do I edit the add on? Where is it being saved to?
Alle antwurden (3)
It doesn't look like this Add-on allows the list of sites to be edited yet. The author says “This is an early version of the plug-in, and the blacklist is hardcoded for now.”
You would have to edit the main.js file in the extension.
- delaysites-0.3.rev97.3.1-fx.xpi/resources/alexischr-1/lib/main.js
An XPI file is a ZIP archive and you should be able to open the file directly for editing with most archive managers without the need to unpack the archive.
pageMod.PageMod({ include: ["*.livejournal.com","*.facebook.com","*.reddit.com","http://www.google.com/reader/*","http://news.google.com/*","*.wikipedia.org","*.twitter.com"], contentScriptWhen: 'ready', contentScriptFile: data.url("blocker.js"), });
You can use this button to go to the currently used Firefox profile folder:
- Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
- http://kb.mozillazine.org/Profile_folder_-_Firefox
- goes to profile folder*
.... I don't see it. *sets it to so I can see hidden folders*
- opens everything I can find that even vaguely resembles what you are referring to and looks at it in notepad*
... I'm going to need you to spell it out for me much more clearly. I made it to the Firefox > Profiles directory but I can't find anything from there. Pretend your instructing a young child from that folder to reach the required text?