[Ext] PrefBar - The all in one button container

Announce and Discuss the Latest Theme and Extension Releases.
Posts: 2367
Joined: February 3rd, 2009, 6:29 pm

Post Posted October 2nd, 2017, 10:09 am

Did the nsILocalFile interface and also get removed in Fx 57? I noticed other devs patching these.

dickvl wrote:removing one character

You can also fix it like so...

Code: Select all
var PrefBranch = Components.classes[";1"]
  .getService(Components.interfaces.nsIPrefBranch2 || Components.interfaces.nsIPrefBranch);

Code: Select all
var executable = Components.classes[";1"]
  .createInstance(Components.interfaces.nsILocalFile || Components.interfaces.nsIFile);

Removal of nsILocalFile and other interfaces!topic/ ... bQIuLNv_2s


I can still use the mozilla.cfg file in Fx Beta 57.

Example: viewtopic.php?p=14752460#p14752460

Infocatcher got the Custom Buttons extension working in Fx Nightly 57.

I didn't test the extension in Fx Nightly 57. I can't get extensions installed in Fx Beta 57.

Foxy Gestures is a WebExtension. It can execute user scripts.

Examples: viewtopic.php?f=23&t=3033676

Foxy Gestures only has a few permissions.

Foxy Gestures has no host permissions so I can't use methods like the following. I can't inject css into all frames without host permissions.

I hope someone creates a similar extension for buttons inside the browser action popup.

Posts: 21
Joined: June 5th, 2013, 11:55 am

Post Posted October 4th, 2017, 1:27 pm

First of all thank you. I only use Colors, Fonts, Min. Font Size. There are millions of us that can't look at bright-white backgrounds for more than a few seconds because it hurts the eyes. So I set my own font & color, but some pages are not usable without color. FF settings are there but many clicks away, so this is a one-click toggle, without it FF is useless for me.

As for alternatives, they've all stopped working. Prefbar works in FF 56.0 since your last update, after that I'm putting FF on Ignore in Update Manager.

Posts: 72
Joined: July 2nd, 2013, 4:29 am

Post Posted October 4th, 2017, 2:30 pm

I've created an addon to replace this feature: ... itecolors/
The possibility to change the colors is already available on my GIT repo.
So far this is fixed to "default disabled", but actually it would be pretty easy to make this a choice in the settings page to modify all website colors by default and disable this effect if needed...

Posts: 21
Joined: June 5th, 2013, 11:55 am

Post Posted October 5th, 2017, 5:01 am

Toolbar buttons are the most convenient. I've moved Prefbar widget to the menu bar so it looks like this, always visible & accessible with a single click:

File Edit View History Bookmarks Tools Help | [ ] Colors [ ] Fonts [v] Min Font Size

I'm surprised that FF devs don't understand basic usability/accessibility in app design. Instead they're just copying Chrome and adding more useless bling. All apps must comply with users' OS global settings. Who wants to look at bright white backgrounds with tiny unreadable fonts and ugly colors? All my tabs have the same background & font of MY choice, I'm interested in page content, not some web designer's idea of art. Thanks again.

Posts: 72
Joined: July 2nd, 2013, 4:29 am

Post Posted October 5th, 2017, 8:14 am

It wouldn't be that difficult to add an (optional) toolbar button to the "Toggle Website Colors" Addon. I'll have a look at this.
Posts: 24
Joined: December 28th, 2015, 10:54 pm

Post Posted October 18th, 2017, 2:02 pm

Hi friends
Could you help me create two buttons for the PrefBar? [-o< one to show the window "Exceptions..." and another one for the window "Saved Logins...", those that are in "about: preferences#security" honestly I have no idea how to create this type of buttons... I could barely create some checkboxes for some options of "about: config"... :oops:
I would also like to know if it is possible to create a checkbox to toggle activate/deactivate an extension, specifically: uBlock Origin (it is restartless)
I know that extension has a huge button to "disable on this site" but in some web pages Firefox becomes "unresponsive" and it is impossible for me to disable uBlock for that site at that moment (and I am forced to kill the process with Win+R "cmd /k taskkill /f /im "Firefox.exe"), so I would like to try if disabling it "from the root" (before the page load) Firefox feels more stable.
Im using Firefox 55.0.3 x64 and PrefBar 7.1.1.
Thanks in advance. :)

Posts: 72
Joined: July 2nd, 2013, 4:29 am

Post Posted Yesterday, 11:52 pm

The "windows" inside the preferences page are no "windows". They are "overlays" that are embedded within this page. Even with PrefBar there is no way to open them separately.

And about you uBlock Origin problem: Maybe you should better file a bug for uBlock asking them for a "global disable" switch.

Just to update the current progress about migrating PrefBar to separate Addons: The "referrer toggle checkbox" is ported ... ereferrer/

Current progress:

Return to Extension/Theme Releases

Who is online

Users browsing this forum: No registered users and 2 guests