Is there a firefox addon or is there a way to use firebug such that you can select some text on the website and it will tell you what styles are being used for that bit of text?
At the moment if I select a bit of text that is styled using css imported from elsewhere I would have to go digging manually to find out what style is being u...
I have starting creating my first firefox extension. I am following
http://extensions.roachfiend.com/howto_bug.html
But seems creating this without an IDE is very tedious task. Do we have any eclipse plugin for creating firefox extension? Or is there any tool for firefox extension creation?
...
What I am wondering is if there is an alternative way to load and embed the content into pages using a Firefox Addon. I know I can load the content using things like io-service and scriptableinputstream to avoid the X-Frame-Options issue, but how can I then write that content into an iframe added to the DOM of the page, have it load prop...
I'm curious if anyone knows how I would trigger a function to run if/once the user finishes selecting text on the web page? I would like the user to be able to select text, and after a short delay(or immediately, at this point it doesn't matter much) an overlay button appears near the text that the user can then click and I go back and r...
Here is code snippet:
Components.classes['@mozilla.org/safebrowsing/application;1']
.getService().wrappedJSObject.malwareWarden.listManager_
.safeLookup(test_url, function(tableName){
if (tableName == 'goog-phish-shavar' || tableNmae == 'goog-malware-shavar') {
alert('This is reported by Google! ');
}...
Hi,
I need to find out height of a page including the content that goes beyond the vertical scrolls which is hidden. I have searched google and stackoverflow QA's but those solution don't apply to my situation.
One condition is I cannot change HTML or BODY css.
Basically I am trying this out for a firefox extension
All the methods lik...
I have written a nice little Firefox Add-On for the company I work for as an IT Ticket System. What it does is notifies managers of new tickets or notifies users of changes to their tickets.
I started out using the built in notifer for Firefox on Windows with:
var alertsService = Components.classes["@mozilla.org/alerts-service;1"].getS...
I have created an add-on using firefox's add-on builder. I am able to create a javascript file inside add-on and can invoke a function when a user clicks on the button provided by addon.
The problem is I am not able to access firefox's webpage from that javascript file. When I access "document" object, it seems to be different object. A...
Hey all,
I'm working on a Firefox extension and am out of ideas on how to implement a floating button. I need a button that is overlayed on my page that I can show/hide and dynamically position just about anywhere on my page. I thought I could do something like a fancy CSS tool-tip except replace it with button functionality, but that i...
Hi guys, I suspect that jQuery is not working ok in my extension...
I'm using version 1.3.2, loaded with the following rows:
var loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
.getService(Components.interfaces.mozIJSSubScriptLoader);
loader.loadSubScript("chrome://myext/content/lib/jquery.js", myext);...
This is for a company intranet app, so everyone is using firefox on XP and I can install whatever is needed.
We'd like to setup an email with a pre-made subject and attachment (similar to using mailto), but the mailto spec doesn't allow attachments.
Any ideas how it can be done? Perhaps using a ff extension?
update: The file is a n...
When I try to read a file synchronously, Firefox freezes.
When I try to read a file asynchronously, I get numbers instead of words.
This code snippet...
var MY_ID = "[email protected]";
var em = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
var file = em.getInstall...
I need to add an ability to a Firefox extension to handle cases when IFRAME elements are being added dynamically. Is there a way to get notified when IFRAME document is loaded in such a case?
For example:
<html>
<head>
<title>iframe test</title>
<script type="text/javascript">
function addIFrame() {
var ifrm = document.creat...
Hi All,
Is there any plug-in for firefox that is usefull for PHP development?
...
Hi Experts
I am building a Firefox Extension. I am using XUL and Javascript to do this. I need to get the text from my Firefox browser's address bar.
Please don't get confused with URL where the browser has navigated, its just the text that user enters before the page redirects. Suppose user is at http://www.myexample.com or whatever p...
Hi,
I'm programming a system to work with in firefox, based on high end javascript.
The users sometimes uses add-ons that conflict with the system.
Is there a way i can control from my web-site to disable or enable specific firefox add-ons in a page?
Thanks.
...
I would like to write a firefox extension. This extension is not a generic extension but work specifically for a domain where I need to highlight specific html components.
How should I do that? I just want the js loaded when the user is browsing a specific domain.
My current overaly.js is basically empty (generated by the Extension Wiz...
In a firefox extension I'm temporarily saving data in javascript to show in a sidebar. When a tab is selected, I want to change the text in the sidebar to the right data. What is the best object to use as the "Identifier" for each tab? I'm trying to use the tab object. However, I'm stuck then on how to associate the data to the tab. ...
I'm fairly new to JS and XUL so please bear with me if this is a noob query :-)
I am developing an extension for firefox which performs a custom action when a toolbar button (created by me) is clicked. I have been able to create the button using mozilla examples but what I have seen is that even when the extension is installed success...
I'm working on a Firefox plugin which contains a file holding some HTML data. How do I load in this file as a string?
I can do
var contents = Components.utils.import("resource://stuff.html");
but that then tries to execute the XML file as Javascript. I just want its contents!
...