I am new to extension development. My requirement is to create a simple extension which modifies some response headers and adds some new headers to the http response. I was looking through some addons like redisposition and inline disposition. The former one does the same job without using xpcom and the later one uses xpcom. Also the former one has xul (gui) components too. Now, is it possible to modify the response if extension has no overlay (gui components).
modify response header without using xpcom in firefox
337 Views Asked by adnan kamili At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in FIREFOX-ADDON
- Firefox extension background script terminated preemptively
- Can be their an extension to save pages in as offline in the browser itself?
- I'm building addon for firefox user can take screenshot, but browser.runtime.sendMessage returns undefined
- Detecting how much 'White' color there is, on an embedded video on a webpage
- How to programatically fast forward video on a website
- Convert code from manifest v2 to v3 chrome extension
- How to request host_permissions at install time with Manifest V3?
- How to store fetch headers in javacript from website I don't own?
- Firefox debugger server changes my search bar coloring
- How can the omnibox suggestions be styled in Firefox?
- How do I fix the following issues with my port of a manifest v2 browser extension to manifest v3?
- How Can I Edit the Body of an API Request With a Firefox Addon
- HTMLButtonElement.click() in content script doesn't work in second screen
- Error sending message to background script: Error: Could not establish connection. Receiving end does not exist (FireFox Extension Test)
- crossOrigin blocks requests for translate.google.com
Related Questions in XPCOM
- How to load fingerprinting js asynchronously and get visitor id
- How to import cookies with XPCOM
- How to use XPCOM in iMacros to load data and write data
- Hot to list all files from a folder with XPCOM
- Attach SQLITE Databaes in Zotero (i.e. Firefox XPCOM/XUL) extension
- Legacy extension not loading on thunderbird-59
- Windows 10 COMException when loading geckofx 45.0.34
- What is missing that I get an NS_BASE_STREAM_CLOSED error?
- Sending message, XPCOM object, that cannot be cloned
- How to get nsIDOMHTMLDocument in GeckoFx?
- SWT Browser when is executed JavaScript "successful"?
- How to create a Thunderbird native extension?
- nsICookieManager XPCOM Interface does not work properly
- get inReplyTo and references from Thunderbird mail header
- How can I get the JSContext of a nsIDOMWindow in c++?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You don't need a GUI.
There are several ways to get your code running:
ReDisposition(The GUI parts there are not required) and register from yourbootstrap.js.main.js.profile-after-change(run at startup, basically) and register once the component gets loaded.Anyway, in the end, you'll need to register and observe
http-examine-responseand friends, no matter what method you use, or whatSee MDN for more documentation (and the firefox-addon wiki).
Other than that, your question is too broad to tell you something less general.