Questions tagged [firefox-addon]

Typically, it is recommended to utilize this label IN CONJUNCTION WITH the label pertaining to the particular category of add-on you are inquiring about. Presently, the widely used tag is firefox-addon-webextensions for WebExtensions derived add-ons. A Firefox add-on serves as a means to enhance or customize the Firefox web browser. Predominantly, queries associated with this label revolve around Firefox extensions that introduce novel features to the browser; however, "add-on" might also encompass themes or plugins.

differences in opinion between JavaScript code and browser add-ons/extensions

As the owner and developer of an e-commerce website, I find that potential customers often contact us regarding ordering issues. Upon investigation, we consistently discover that the problem is caused by JavaScript errors. We frequently check their browse ...

Set up the RefControl extension with the help of the Selenium WebDriver

I have successfully implemented this addon with selenium. However, I am unsure how to adjust the settings of addons in selenium. from selenium.webdriver.firefox.firefox_profile import FirefoxProfile from selenium.webdriver.firefox import webdriver profil ...

Implementing a Tab on Firefox Extension Upon Window Load

I have a requirement to add a tab whenever a new Firefox window is loaded for my bootstrap extension. Below is the code snippet I am using: var WindowListener = { setupBrowserUI: function(window) { window.gBrowser.selectedTab=window.gBrowser.a ...

Mozilla Extension: Run code on initial launch

Currently in the process of building an add-on and looking to implement specific code for its initial run. What I aim to achieve is clicking on the add-on button, navigating through files, and selecting an executable file. This browsing action should only ...

Having trouble loading Firefox Add-ons with Python Selenium

When running the selenium webdriver, I am encountering an issue with loading Zenmate Firefox Addons. The code runs smoothly without any addons/extensions, but fails to run when any addon is added. Here is my code snippet: def __init__(self): s ...

Can a Firefox extension be developed using XUL and AngularJS?

I've been wondering about AngularJS, the framework for HTML. Interestingly, XUL (XML User Interface Language) and HTML share similar underlying processing abilities, as both can utilize JavaScript and CSS. Is it possible for AngularJS to integrate with X ...

Javascript editing enhancement for real-time changes

Are there any tools for in-place editing of Javascript code? I'm looking for something similar to Firebug, which is great for instant CSS editing and previewing but doesn't have the capability to edit JavaScript directly. Is there a tool or addon ...

I’m having trouble incorporating an extension into Firefox using geckodriver and JavaScript

I am trying to connect my extension (.xpi file) to Firefox using Selenium. Once connected, I want to open a specific URL in the browser. However, I am facing issues attaching the extension to Firefox. In my search for a solution, I discovered potential pr ...

Is it necessary for the error event of xmlhttprequest to include an error message?

Currently, I am in the process of developing an AJAX request within a Firefox extension. The following code snippet illustrates my approach: function GetMenu(){ var oReq = Components.classes["@mozilla.org/xmlextras/xmlhttprequest;1"].createInstance(); ...

version 3.6.0 of selenium and its corresponding add-ons

Note that the question has been edited. How can I enable blocking for Ghostery extension in Firefox using Selenium Python bindings? It should be noted that by default, blocking in Ghostery is disabled. I am currently using Selenium 3.6.0 and Ghostery 7.3 ...

Challenges encountered with the "load" event handler when creating a Firefox Extension

I am currently troubleshooting a user interaction issue with my Firefox extension. The tasks that my extension needs to complete include: Checking certain structures on the currently viewed browser tab Making backend server calls Opening dialogs Redirect ...

Installing the Firefox WebDriver Extension for Selenium WebDriver: A Step-by-Step Guide

After successfully setting up a browser automation project using Selenium WebDriver on one machine, I encountered issues when trying to run it on another. The browser (Firefox) opens but the automation does not happen as expected. Upon timing out, an error ...

Enable the feature for users to upload images to a specific folder within the Chrome extension without the need for

I need to implement a feature in my Chrome extension that allows users to upload images directly to a specific folder named "upload" without needing a submit button. <form action="/upload"> <input type="file" name="myimages" accept="image/*"> ...

The issue of variable stagnation in Firefox content script while utilizing self.port.on

I'm having trouble updating the version var as intended. When I try to update it with the following code: self.port.on("get-version", ver => { version = ver; alert(version); }); An alert pops up displaying the correct version number, but the HTML stil ...

Information sent by the Firefox TCP socket using the socket.send() method cannot be retrieved until the socket is closed

I am experiencing an issue while trying to send data from Firefox to a Java desktop application. My Java class functions as a server, and the Firefox script acts as a client. When I test it using another Java class called client.java, the data is successfu ...

The event listener for browser.menus.onClicked is dysfunctional in Firefox

Currently, I am in the process of developing my own Firefox extension and I have encountered an issue with adding a listener to an onclick event for a context menu item. manifest.json { "manifest_version": 2, "name": "My exten ...

Exploring Firefox extension elements with Selenium: A step-by-step guide

I am looking to extract a link from a notification generated by an extension using Selenium for testing purposes across various websites. The specific extension I am working with is demonstrated in this GitHub example full code available here. It showcase ...