Jump to content

Extensions and custom buttons for UXP browsers - Corrections, modifications, adjustments, and special recommendations


Recommended Posts

Posted (edited)
On 4/1/2024 at 3:23 PM, AstroSkipper said:

So, it would be really interesting for me what other users think about custom buttons. Any opinions, experiences or questions are welcome, of course! And it doesn't matter whether you used them in the past or still do.
yes.gif smilie_a_010.gif smilie_xyz_006.gif

The reason I'm asking so much for your opinion is the impression I get that many users either don't have custom buttons on their radar or don't really know what to do with them or have just never tried them. :dubbio: Anyway! In my next post, I will present one of my favourite custom buttons made by a great developer of extensions and custom buttons which I install in all my profiles of New Moon and Serpent by default to keep an eye on certain, self-selected browser preferences and control them. spanachee.gif

Cheers, AstroSkipper matrix.gif

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites


Posted (edited)

Pref Toggler - A custom button for toggling user-selected preferences in about:config

The Pref Toggler custom button, created by the great developer srazzano long time ago, is one of my favourite ones. It gives the opportunity to switch very specific preferences, which have been selected and configured by the user first, much more quickly and clearly than using the about:config page. The controlled preferences by Pref Toggler can be Boolean, String or Integer ones. In addition, this custom button allows direct control over the current state of these user-selected preferences. A tool bar icon in the form of a glowing bulb Glowing-bulb.png gives the user an additional indication that some preferences are not in their default state. I only changed the icon images of this custom button inside its code in terms of size for better fit in the tool bar and the main interface window. Here are some screenshots to get an impression how the user interface of Pref Toggler looks like and works:

This is the main interface:

Pref-Toggler.png

Clicking onto the button "Edit List", you can add, edit or delete preferences to be controlled:

Pref-Toggler-2.png

The bulb is glowing Glowing-bulb.png due to controlled preferences which are not in their default state:

Pref-Toggler-3.png

The bulb is not glowing Not-glowing-bulb.png because all controlled preferences are in their default state:
:
Pref-Toggler-4.png

Toggling Boolean preferences is done by a left-click and editing String or Integer preferences by a middle-click or right-click:

Pref-Toggler-5.png

The user-selected preferences are stored in about.config by a preference of Pref toggler with the name extensions.custombuttons.PrefToggler.prefList.

Pref Toggler is indeed a great custom button and definitely recommended by me. g0495.gif I uploaded the Pref Toggler custom button as an HTML file for an offline installation.

Here is the download link of my modded custom button Pref Toggler, credits, of course, to its brilliant developer srazzano notation.gif: https://www.mediafire.com/file/b069qa1jwallwqe/Pref_Toggler_02.04.2024.html/file

Simply open this HTML file in a browser tab and click the embedded custom button link for Pref Toggler! For the installation of this button, as for all others too, the extension Custom Buttons is required and has to be installed first. You can get it from this post: https://msfn.org/board/topic/183923-extensions-and-custom-buttons-for-uxp-browsers-corrections-modifications-adjustments-and-special-recommendations/?do=findComment&comment=1226328

Greetings from Germany, AstroSkipper matrix.gif

 

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

On 9/20/2022 at 11:21 AM, AstroSkipper said:

Custom Buttons 0.0.5.8.9.... The version, which I use and can recommend, is Custom Buttons 0.0.5.8.9.6-fixed8, a more recent and compatible one. It works flawlessly in New Moon 28, Serpent 52, and also in other browsers. I uploaded this version for you. Here is the download link
https://www.mediafire.com/file/wpf38lupdi4fo0s/custom_buttons-0.0.5.8.9-fixed8-signed.xpi/file link.gif

AstroSkipper, what is the original source of the "Custom Buttons 0.0.5.8.9.6-fixed8" version you are offering?  Is the offering a mod?

Edited by Ascii2
Link to comment
Share on other sites

Posted (edited)
8 hours ago, Ascii2 said:

AstroSkipper, what is the original source of the "Custom Buttons 0.0.5.8.9.6-fixed8" version you are offering?  Is the offering a mod?

As far as I can remember, I got this version from the Custom Buttons Forum many years ago. This forum is no longer active and has unfortunately closed. smilie_winke_055.gif The Custom Buttons extension was fixed on a regular base in those days due to breakages which occurred repeatedly after updating Firefox. In these days, you can get this extension either via the Classic Add-ons Archive or here: https://sourceforge.net/projects/custombuttons/files/. I personally have an huge archive of custom buttons themselves and the Custom Buttons extensions which were created in those days. However, the Custom Buttons 0.0.5.8.9.6-fixed8 version, you presumably will get only here. smilie_denk_24.gif These fixed versions were never archived officially. :no:

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

Posted (edited)
7 hours ago, dmiranda said:

Some (compatible?) scattered here and there, f.e., https://github.com/Infocatcher/Custom_Buttons

You will only know whether these custom buttons are compatible with @roytam1's browsers or not when trying to install them and checking their functionality. Most of these custom buttons are very old. Unfortunately, many of them don't work in Firefox 52 based browsers any longer. They would have to be fixed if possible at all. I personally use only those which are fully functional. My self-created custom buttons have been developed for UXP based browsers and are compatible with @roytam1's browsers and most probably with Pale Moon, too. I even managed some of them to also work in Mypal 68. Have a look here: https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1229639
The more universal the JavaScript coding of these custom buttons, the more compatible. :P And you have to target only functions which are supported in all browsers. That's why only a few of the old custom buttons can be used in Mypal 68. smilie_denk_24.gif

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

Posted (edited)

@dmiranda, @Ascii2 Do you still use custom buttons at all? This was actually my initial question. What do you think about custom buttons in general? And have you ever tried the Pref Toggler custom button or my modded version I recently presented here:dubbio:

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

Hi @AstroSkipper, I tried some of your toggle buttons, and you e-cleaner, but the toggle buttons were made for functions I don't really change, and I have an alternative for the ecleaner  (in the "clean uninstall" addon). 

However, I like the preftogler concept very much, and looking briefly at the code, I think I can fashion settings I actually may want to change to visit some sites, now and then.  And I like your restart and purge startup caches, beginning with the fact that it actually makes a restart, and that it simplifies the process of cleaning said caches when installing/trying new stuff.

In mypal68 I also use the restart button, and the about:everything button.

Link to comment
Share on other sites

Posted (edited)
25 minutes ago, dmiranda said:

Hi @AstroSkipper, I tried some of your toggle buttons, and you e-cleaner, but the toggle buttons were made for functions I don't really change, and I have an alternative for the ecleaner  (in the "clean uninstall" addon). 

FYI, my toggle buttons can easily be modified to switch other Boolean preferences. I explained it in the corresponding posts.

25 minutes ago, dmiranda said:

However, I like the preftogler concept very much, and looking briefly at the code, I think I can fashion settings I actually may want to change to visit some sites, now and then.

TBH, there is nothing to be changed in the button's code. I think you rather mean changing the selected preferences which you want to control. This is to be done in the main user interface window of Pref Toggler via the button "Edit List".

25 minutes ago, dmiranda said:

And I like your restart and purge startup caches, beginning with the fact that it actually makes a restart, and that it simplifies the process of cleaning said caches when installing/trying new stuff.

That's good to hear. Thanks for your feedback! :)

Edited by AstroSkipper
Update of content
Link to comment
Share on other sites

24 minutes ago, AstroSkipper said:

TBH, there is nothing to be changed in the button's code. I think you rather mean changing the selected preferences which you want to control. This is to be done in the main user interface window of Pref Toggler via the button "Edit List".

So, let's say I want to include the key "browser.backspace_action", I just add it using edit list?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...