MozillaZine

Requesting an add-on or whatever to do...

Talk about add-ons and extension development.
streetwolf

User avatar
 
Posts: 2093
Joined: August 21st, 2011, 8:07 am
Location: NJ (USA)

Post Posted September 24th, 2017, 11:32 am

I've always thought it would be nice to be able to select a preference that is in an article about Fx and through some mechanism have it open up in about:config with the selected pref displayed. I don't know if it would need to be an add-on or something else. If an add-on it would have to be a Webextension.
Intel i7 Quad Core 3770K @ 5Ghz|ASUS P8Z77-V Deluxe|Corsair 1050W PSU|Corsair H100iV2 CPU Cooler|Corsair 16GB RAM|Sapphire Nitro R9 390 8GB|DUAL ASUS PA249Q IPS 24" LCDs|Samsung SSD 830, 840 256GB|2TB Seagate|Windows 10 Pro x64|AMD Crimson 17.10.1|FIOS 1Gb Internet

Brummelchen
 
Posts: 2273
Joined: March 19th, 2005, 10:51 am

Post Posted September 24th, 2017, 11:49 am

WE are no longer allowed to open about pages

morat
 
Posts: 2363
Joined: February 3rd, 2009, 6:29 pm

Post Posted September 26th, 2017, 7:44 pm

I tried opening the about:blank and about:config pages with a Foxy Gestures UserScript.

Code: Select all
/* Foxy Gestures UserScript */

(function () {

  // succeeds
  executeInBackground("(" + function (aUrl) {
    browser.tabs.create({url: aUrl});
  } + ")", ["about:blank"]);

  // fails
  executeInBackground("(" + function (aUrl) {
    browser.tabs.create({url: aUrl});
  } + ")", ["about:config?filter=devtools.chrome.enabled"]);

}());

Error: Illegal URL: about:config?filter=devtools.chrome.enabled

Foxy Gestures
http://addons.mozilla.org/firefox/addon/foxy-gestures/
http://github.com/marklieberman/foxygestures

Foxy Gestures User Scripts
http://github.com/marklieberman/foxyges ... er-Scripts

Return to Extension Development


Who is online

Users browsing this forum: Google [Bot] and 2 guests