A quick question: how do I programatically select the text fragment of the page in FireFox? For example, there’s a paragraph of text, user clicks the button and symbols from 10-th to 15-th are selected as if user dragged a mouse in a regular way.
Can we use a Global variable that persists over multiple instances of the browser (FF)? I am building a ff extension which has to take the host& port name from the user once and then execute the menu options accordingly using that very host and port. This Host and port must remain same untill the […]
Is there an API call allowing one to enable/disable a Firefox add-on?
I’m doing some work with the new Facebook js library, http://github.com/facebook/connect-js. There’s one thing that bugs me, which is that when you are using Firefox and have the option “Open new windows in a new tab instead” enabled, the login popup opens in a new tab and then resizes the entire browser. It doesn’t restore […]
I developed a greasemonkey script that refreshes a page and checks for certain updates. I would like to run this script in a tab and browse the internet in another tab, but then have the script automatically activate it’s tab when an update is found. Im not sure how clear that was, maybe this is […]
I am running a HTTP server on my development machine. I have a website, on some web server on the Internet. How can I get Firefox to allow communication from this website to localhost temporarily while I develop? Thanks, Isaac Waller
I have been doing some hours of research and trial and error on this topic but can’t seem to find a decent documentation or suggestions on how to get me started in the right direction. What I am trying to achieve is create my own Firefox add-on which is supposed to let you select text […]