activate or deactivate Addons via command line or config file
Is it possible to activate or deactivate firefox addons via command line or config file? ...
Is it possible to activate or deactivate firefox addons via command line or config file? ...
I wish to block ALL my content from any users using an ad-blocking browser extension (ie. Adblock Plus for Firefox, Adthwart for Chrome). How can I acheive this? Is there a server-side solution? Client-side? Edit 1 This question regards the detection of ad-blocking browser extensions: http://stackoverflow.com/questions/1185067/detec...
How to call a Javascript function declared in my extension, using a html button from my web page? I have a html page, with a button inside. When the user click the button, it will call a function that I already declared inside my own firefox extension. ...
After a whole day figuring out how to write something from my browser to a local text file.. Im thinking of something like for example a Firefox extension that has a log file. Is there any way that my extension can write to my extension. Means, inside my extension got a log file. For information I'm developing for Linux platform. ...
Hello All, I want to create a toolbar and a button over this tool as an add on in Safari and Firefox. I never created one, so if anyone could suggest me what are actually required to create add on for them, it would be highly appreciated. I want to develop this add on for browser versions of Mac. Thanks, Rahul ...
I'm trying to debug my form POST code. Is there any firefox plugin so I can see exactly what the browser is sending (rather than monitor at the server side)? ...
If i want to find all elements that are inside a box region, what is the best way to do it as a Firefox extension? If i check all leave elements and call getBoundingClientRect(), it'd be too slow given that there can easily be more than 500 leaves on a page. Any help will be appreciated. Thanks. ...
I'm writing a piece of code for a Chrome+Firefox extension that redirects users to a search results page for a given string. Currently we redirect to the google search results, and instead of building our own option for search engines, I was wondering if there is a way to use whatever search engine the browser is set to use. I was wonde...
I don't know a thing about implementing extensions in Firefox, but having not seen an extension that does anything like this in the Mozilla's addons page, I don't believe it is possible, but thought I will ask about it anway. ...
I want to develop an extension that activates only for a specific domain. I don't want it to appear in browser menus while not browsing this specific domain. Is it possible to do that? ...
the javascript file contains this code: function getSelected(win) { sel = win.getSelection(); alert(sel); } The browser.xul file contains this: <popup id="contentAreaContextMenu"> <menuitem id="selection" label="Select text" accesskey="S" oncommand="getSelected(window);"/> </popup> The alert is blank, why? ...
This is the code that I have in javascript file inside my addon: function ShotText() { var inputString = "שלום"; //Hebrew letters alert(inputString); } When I run this function using addon I get this: But if I run the same code without addon (regular javascript function), I get this: Where is the problem?...
I understand that jQuery is the preferred Javascript framework for Firefox extensions, but I'm comfortable with Prototype and need to implement a simple Firefox extension. Unfortunately, I'm having trouble invoking a Prototype method. Each method call is resulting in a no-op: there are no errors or other signs the method call occurred....
I'm developing a Firefox add-on and want to get the document content (DOM Elements) of an URL for parsing some data but don't want user to see this action. Is there any way to open an URL in a hidden tab and get the document content of this tab? Or any other solution? ...
The terms "extension" and "add-on" seem interchangeable, but I have seen instances where people seem to mean different things with "extension" vs "add-on." Clarity please? Thanks! ...
I am able to get path to User 'AppData/Local' folder as follows. appdatafile = Components.classes["@mozilla.org/file/directory_service;1"]. getService(Components.interfaces.nsIProperties). get("LocalAppData", Components.interfaces.nsIFile).path; Can anyone help me to get the 'AppData/LocalLow' user folder? ...
Is it possible to build a Firefox extension that displays a floating, persistent iFrame over the page content? I know it's possible to add iFrames using XUL. For instance, you can add an iFrame to a persistent sidebar. However, I want the iFrame to float over the page content, not cause the content to shrink. So far, my only option i...
Is there an API call allowing one to enable/disable a FireFox add-on (to be more specific an extension)? ...
Two related questions: Is there an API to produce a list of all the installed extensions in Firefox? If so, how would I uniquely identify an extension? What I need is to have an ID that persists through different versions of an extension and ideally through a renaming (so name may not be the best option). Is it GUID? Thanks! ...
I'm developing a Firefox add-on and having a problem: onClick event does not work with xbl:inherits. Other attributes like value and src work well Here is my code Binding: <binding id="CF-review"> <content> <xul:vbox> <xul:label class="CF-review-url" xbl:inherits="onclick">[more]</xul:label> </xul:vbox>...