I can't get browser.browserAction.setIcon to work in Microsoft Edge when manifest.json is specifying a default icon in multiple sizes:  manifest.json  {   "manifest_version": 2,   "name": "test",   "version": "...
Before giving up on my extensive googling, I thought I'd make a last ditch effort and ask here...  In Chrome, Safari, Firefox and Opera - it's very easy to write browser extensions using javascript (and some native javascript functions to eac...
I'm creating an extension using Crossrider that allows users to bookmark the page they are viewing.  For this purpose, I created a button popup that when clicked opens with the UI for managing the list of bookmarks. When the user clicks on the ex...
I want to download a file into a hidden directory (e.g. .data/demo.txt).  Using the browser.downloads.download or chrome.downloads.download API:  //running in background script browser.downloads.download({   url: 'https://example.org/demo.txt'...
I'm working on a Chrome extension which injects a link into the page which upon click triggers a click on two links visible within the page. It works when I run the code from the console, but due to Chromes Isolated World handling of extensions,...
We develop extensions for Firefox. The script needs to know if it is a content script or a background script (sometimes the same script can be both a content script and a background script). We tried to do it with the following code:  if (typeof expo...
I'm writing a browser extension for a site that uses Backbone.js. Its pertinent code looks like the following (names have been changed to protect the innocent):  var BigContainer = BigContainer || {}; (function($, exports) {     var Thing = Backb...
We are using CrossRider to develop an extension for Internet Explorer. Our extension has code that sends a message to the background, and the background sends a reply and calls a callback function. This works in my computer with Internet Explorer 11,...
We are using CrossRider to develop an extension for Internet Explorer. I tested our extension in staging mode, and there is an alert in the background and in extension.js in the function appAPI.ready:  extension.js:  appAPI.ready(function($) {     al...
I've made a javascript browser extension for google chrome that is logging urls. I want to send a json containing each url and time of visit to my S3 bucket via my javascript code. However, I can only see a way to do this with node.js which I bel...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.