Skip to content Skip to sidebar Skip to footer
Showing posts with the label Firefox Addon

How To Copy To Clipboard Via Chrome.notification.create With Chrome.notification.onclicked In A Firefox Webextension Add-on?

Testpage: https://www.google.com It works in Chrome but in Firefox Nightly 52.0a1 it gives me this … Read more How To Copy To Clipboard Via Chrome.notification.create With Chrome.notification.onclicked In A Firefox Webextension Add-on?

Can I Set The Background Color In A Firefox Extension's Popup Notification?

I am using the popup notification system described in the tutorial https://developer.mozilla.org/en… Read more Can I Set The Background Color In A Firefox Extension's Popup Notification?

How To Get Tab From Nsidomwindow?

A noob at firefox extension development here. Is there a way to find Tab object from a given nsIDOM… Read more How To Get Tab From Nsidomwindow?

Chrome Extension Message Passing Is Not Working?

In contentScript.js the function is not called. background.js var insertUI = true // var hasExecute… Read more Chrome Extension Message Passing Is Not Working?

Convert Array Of Byte Values To Base64 Encoded String And Break Long Lines, Javascript (code Golf)

This JavaScript function takes an array of numbers (in the range 0-255) and converts to a base64-en… Read more Convert Array Of Byte Values To Base64 Encoded String And Break Long Lines, Javascript (code Golf)

Bypassing The Browse File / Upload File Dialog

I am building a Chrome extension for internal use, and at one step, the user can upload a file. Thi… Read more Bypassing The Browse File / Upload File Dialog

Content Script Only Runs Once (temporary Addon)

I made a simple temporary addon: manifest.json { 'manifest_version': 2, 'name'… Read more Content Script Only Runs Once (temporary Addon)

Messages Intended For One Script In The Background Context Are Received By All

I have a WebExtension with the following structure: webextension [directory] - background.js … Read more Messages Intended For One Script In The Background Context Are Received By All

What Does Paragraph About Figuring Out Xul Elements Mean In Mdn Document: "how To Convert An Overlay Extension To Restartless"

Recently a friend of mine and I have been working on a Firefox extension. He handed the code to me … Read more What Does Paragraph About Figuring Out Xul Elements Mean In Mdn Document: "how To Convert An Overlay Extension To Restartless"

How To Read Information Of An Ajax-dialogbox

I want to develop an firefox-extension using javascript&jQuery which extrats the facebook-priva… Read more How To Read Information Of An Ajax-dialogbox

Passing Values To Iframe Inside Xul Panel

I am creating a firefox extension that has a button on the toolbar that will show below custom cont… Read more Passing Values To Iframe Inside Xul Panel

Trigger Events From Firefox Browser Extension?

I want to trigger events from a Firefox extension, specifically click events. I've tried jQuery… Read more Trigger Events From Firefox Browser Extension?

Error While Calling Scardlistreaders In Js-ctypes

I am calling winscard functions using js-ctypes for a Firefox addon. SCardEstablishContext works p… Read more Error While Calling Scardlistreaders In Js-ctypes

Save Website Image Using A Firefox Addon (sdk)

I am able to grab the URL of an image on a website, but I want to download the image to the local d… Read more Save Website Image Using A Firefox Addon (sdk)

Firefox Addon Ignore Iframes

I'm trying to build an addon for LinkedIn but the contentscript is outputted in every frame... … Read more Firefox Addon Ignore Iframes

Altering Http Responses In Firefox Extension

How can I alter the HTTP response body in a Firefox extension? I have setup an http-on-examine-resp… Read more Altering Http Responses In Firefox Extension

Selenium Webdriver: Firefox Headless Inject Javascript To Modify Browser Property

I'm trying to figure out how is possible to use selenium webdriver with python or java to injec… Read more Selenium Webdriver: Firefox Headless Inject Javascript To Modify Browser Property

How To Flush A Socket In My Code

I'm writing through a socket from a FF add-on to a java server. I write several requests and th… Read more How To Flush A Socket In My Code

Jsonp Callback Error

I'm using firefox addon builder. Running this code errors with 'callback is not defined'… Read more Jsonp Callback Error

Save Pdf Directly To File Using Jspdf

My script is a Firefox addon so has access to sensitive code like access to filesystem etc. I displ… Read more Save Pdf Directly To File Using Jspdf