MozillaZine

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

Talk about add-ons and extension development.
streetwolf

User avatar
 
Posts: 2119
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 Core i7-8700K CPU @ 5GHz | Gigabyte Z370 AORUS Gaming 7 | Corsair 1000W PSU | Corsair H115i v2 CPU Cooler | Corsair 64GB RAM | EVGA GeForce GTX 1080 Ti FTW3 GAMING 11GB | DUAL ASUS PA249Q IPS 24" LCDs | 2-512GB Samsung 960 PRO M.2 | 2TB Seagate | Windows 10 Pro x64 | FIOS 1Gb Internet

Brummelchen
 
Posts: 2583
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: 2445
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: No registered users and 1 guest