Jump to content

Mypal 68 in Windows XP - Custom Buttons and Extensions


Recommended Posts

Posted (edited)

Mypal 68 in Windows XP – Custom Buttons and Extensions

@feodor2 created a great new browser called Mypal 68, a browser for Windows XP based on Firefox 68. It is still in development. Here is the link: https://github.com/Feodor2/Mypal68. Mypal 68 is the first one which bases on Firefox Quantum targeting Windows XP. We already have a thread about Mypal 68 generally. It is here, started by @Jody Thornton: https://msfn.org/board/topic/183495-mypal-68/. Logically, we will stick with this browser in Windows XP for a long time. The goal of this thread is to make this browser as comfortable as possible and to enhance its functionality.

Purpose and structure of this thread

All Pale Moon, New Moon and abandoned Mypal browser editions support old legacy UXP-based extensions. In contrast to them, the new Mypal 68 is a browser supporting web extensions only, like Firefox editions 57+. Therefore, all our beloved legacy extensions can't be used anymore except those ported to web extensions by their developers. Especially all custom buttons extensions don't work anymore and there are no replacements among the web extensions. In the past I created some custom buttons by using JavaScript, but none of them can be loaded in Mypal 68. :realmad:  Starting from Firefox 57 we have to notice following rule: the higher version, the more restricted in customization of the browser's UI and its functions. And if you think, all of these new web extensions will work in Mypal 68, then you will be disappointed once again. And exactly that is the reason I created this thread. The purpose of it is on the one hand to collect and provide information about useful, fully working extensions and on the other hand to show alternatives for implementing custom buttons, all in Mypal 68. The idea is one useful, fully working custom button or extension, one post. plusun.gif

Custom Buttons in Mypal 68

The implementation of a custom button into Mypal 68 is much more complicated than it was in the case of UXP-based browsers. As already stated, all old custom button extensions don't work anymore. The same applies to created custom buttons targeting these CB extensions. There are no replacements among the web extensions. So what can we do? The answer is using scripts. In the profile folder of Mypal 68 a new subfolder "chrome" has to be created if not already existent. These scripts can be copied to this chrome folder and loaded at next browser start. They contain new functions or buttons to enhance functionality or usability of Mypal 68. Unfortunately, the compatibility of these userscripts *.uc.js depends on the targeted version of Firefox. Therefore, only a few of them will work natively in Mypal 68 unless you are able to modify them or write your own scripts. And there are some requirements to be fulfilled to get them working in Mypal 68. :yes:

Custom Buttons requirements in Mypal 68

1. In the profile folder of Mypal 68 a new folder "chrome" and a subfolder "css" of folder chrome have to be created if not already existent. Now you should have the following structure in your profile folder:
mypal_profile_folder\
mypal_profile_folder\chrome\
mypal_profile_folder\chrome\css\
2. Five files have to be added to Mypal 68. Copy config.js to Mypal's installation folder, next to mypal.exe. Copy config-prefs.js to \defaults\pref inside Mypal installation folder, next to channel-prefs.js. Finally, save userChrome.js, userChrome.css and userChrome.xml into Mypal chrome folder.
3. The variable general.config.sandbox_enabled has to be set to false in about:config which should be done automatically by file config-prefs.js after restarting the browser. Two further variables will be set by this file: general.config.filename to string config.js and general.config.obscure_value to value 0. Another variable toolkit.legacyUserProfileCustomizations.stylesheets has to be set to true which should be done automatically by config.js.
4. Now, new custom buttons scripts can be added to profile's chrome folder. They all end with the extension .uc.js, for example RestartFirefoxButton_Movable.uc.js. In some cases, the file userChrome.css has to be edited to load other needed CSS files.

This is the download link of the package MYPAL_68_CB_requirements.7z I created which contains all required files for the custom buttons posted by me: https://www.mediafire.com/file/m84enyyuz7up01y/Mypal_68_CB_requirements.7z/file  link.gif

Extensions in Mypal 68

As already mentioned, Mypal 68 supports only web extensions. We can try to use all web extensions which are provided on official Firefox Extensions homepage: https://addons.mozilla.org/en-US/firefox/extensions/. But do not think each of them will work in Mypal 68! First we have to take account of the minimum version number less or equal to 68, of course, but that's not all. A lot of supposedly compatible extensions don't work in Mypal 68. For example, many "Clear Cache" extensions don't do their job properly. You think the cache has been deleted by clicking, but that's a fallacy. Either you have to install some so-called "native applications" which have to be installed in your system to grant access to restricted functions in Mypal 68, unfortunately not being Windows XP compatible like, for example, node.js, a JavaScript runtime built, or they simply don't work as expected. The same applies to the so-called browser restart extensions. They are not able to perform a complete, real restart of Mypal 68. I found a lot of them, and they are all crap. Anyway, beware of these useless, crappy extensions! :thumbdown

Additional list of special articles:

Mypal 68 on low performance systems with an amount less than 2 GB of RAM → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1225796

Update notification: update.gif

10/06/2022: The file MYPAL_68_CB_requirements.7z has been updated and corrected. Download link above.
11/06/2022: @feodor2 released a new beta version: Mypal 68.12.4b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.12.4b/mypal-68.12.4.en-US.win32.zip 
10/08/2022: @feodor2 released a new beta version: Mypal 68.12.5b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.12.5b/mypal-68.12.5.en-US.win32.zip

In this thread, please post only useful custom buttons or extensions, tested and fully working in the most recent version of Mypal 68! If not, a note is necessary which version of Mypal is targeted. "Useful" means this custom button or extension should have a meaningful and real benefit for its user, contrary to just only working or looking nice. The post should include a headline with the name of the custom button or extension in bold and font size 18, a short description (one sentence including purpose and version number), some important remarks regarding to installation or usage, if necessary, and a download link, of course. All posted custom buttons, CSS code implementations,  or extensions that meet these conditions will be listed alphabetically in the second or third post, with a link to the member's original comment for better overview. Due to the modular character of this thread, each posted custom button or extension can be upvoted or liked separately with credits to their poster. Any opinions, experiences, discussions, or questions about these custom buttons or extensions are explicitly welcome. But one thing must be totally clear, everything should relate to this topic. That means please stay on-topic!

If you enjoyed this thread, or maybe you found it interesting and helpful, we would be pleased about any reaction by liking or upvoting and of course commenting. quotidien13.gif

 

Kind regards, AstroSkipper ordi1fun.gif

 

Edited by AstroSkipper
Update of content
  • Like 1
  • Upvote 1
Link to comment
Share on other sites


Posted (edited)

Alphabetic list of useful and fully working Custom Buttons or CSS code implementations for Mypal 68

Unless another version is explicitly stated, all scripts refer to the latest Mypal release.

aboutbutton  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220764

memoryMinimizationButton  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220511

Move the tab bar below the bookmarks bar  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1226364

RestartFirefoxButton_Movable  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220336

RestartFirefoxButton_Movable (alternative version)  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220381

 

 

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

Posted (edited)

Alphabetic list of useful and fully working Extensions for Mypal 68

Unless another version is explicitly stated, all listed extensions refer to the latest Mypal release.

AdBlocker Ultimate  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220379

Cookie Quick Manager  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220506

FireShot: Full Web Page Screenshots  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1221073

Forget Button - Clean your Browser  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220337

Language Packs  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220632

Simple Translate  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1225646

SuperStop  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1221177

Top and Bottom scroll buttons  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220601

uBlock Origin  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1227008

uMatrix  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1225663

Undo Close Tab  →  https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1221010


 

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

Posted (edited)

RestartFirefoxButton_Movable

This custom button provides a button called Restart and performs a complete, real restart of Mypal 68. With a middle click userChrome.js cache is emptied. The file RestartFirefoxButton_Movable.uc.js has to be copied in subfolder chrome of Mypal's profile folder. Tested and working.

Requirements: Download package MYPAL_68_CB_requirements.7z in the first post of this thread.

Download link: https://www.mediafire.com/file/tpfa69cnkvrdv4h/RestartFirefoxButton_Movable.uc.js/file

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

Posted (edited)

RestartFirefoxButton_Movable (alternative version)

This custom button provides a blue coloured button (similar to old Firefox versions) called Restart and performs a complete, real restart of Mypal 68. With a right or middle click userChrome.js cache is emptied. This is my favourite restart button. The file RestartFirefoxButton_Movable.uc.js has to be copied in subfolder chrome of Mypal's profile folder. The original version is a German one. I've translated it and provide an English version either. Tested and working.

Requirements: Download package MYPAL_68_CB_requirements.7z in the first post of this thread.

Download link of English version: https://www.mediafire.com/file/csomx0y4hfc2ezr/RestartFirefoxButton_Movable.uc.js/file

Download link of German version: https://www.mediafire.com/file/7xddep6svyf4oqc/RestartFirefoxButton_Movable.uc.js/file

Edited by AstroSkipper
Link to comment
Share on other sites

Update notification: update.gif

10/06/2022: The file MYPAL_68_CB_requirements.7z has been updated and corrected. The download link is in the first post.

Cheers, AstroSkipper ecrire-ordi.gif

Link to comment
Share on other sites

Cookie Quick Manager

An extension to manage cookies (view, search, create, edit, remove, backup, restore, protect from deletion and much more). Firefox 57+ is supported. This a very good cookie manager with all necessary features to have control over the cookies. Tested version: 0.5rc2

Download link: https://addons.mozilla.org/en-US/firefox/addon/cookie-quick-manager/

Link to comment
Share on other sites

Posted (edited)

memoryMinimizationButton

This custom button provides a button called Memory minimization and attempts to reduce RAM memory usage of Mypal 68. Most browsers do not free up RAM completely that is no longer needed after closing tabs. This custom button is very useful, especially for those users whose amount of RAM is low and who need to recover a bit of RAM's wasted amount. The same function can be accessed by calling up about:memory and clicking Minimize memory usage. Using the button Memory minimization, you can do it with only one click. The file memoryMinimizationButton.uc.js has to be copied in subfolder chrome of Mypal's profile folder. Tested and working.

Requirements: Download package MYPAL_68_CB_requirements.7z in the first post of this thread.

Download link: https://www.mediafire.com/file/xvo8jm4kaeerk8w/memoryMinimizationButton.uc.js/file

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

On 6/11/2022 at 8:01 AM, AstroSkipper said:

Update notification: update.gif

11/06/2022: @feodor2 released a new beta version: Mypal 68.12.4b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.12.4b/mypal-68.12.4.en-US.win32.zip
 

Cheers, AstroSkipper ecrire-ordi.gif

Yes!!!

D3D9 Compositing is now available and enabled, WebGL2 can be force enabled!!!  Perfect...  I may just switch over from Serpent now if MyPal proves to be stable.

fedor.thumb.png.24ffcf77550547abdc7b51a29a2b44b9.png

Link to comment
Share on other sites

Posted (edited)
6 hours ago, mockingbird said:

Forgive my ignorance, how does one install this?

Hi @mockingbird, create in your Mypal 68 profile folder a new subfolder chrome if not already existent. Now copy all files and folders into it. Then restart your Mypal 68. Eventually, some further settings have to be done, as I already described in the first post of this thread. CustomCSSforFx is to customize the browser as it did Classic Theme Restorer legacy add-on in the past. A lot of customizations can be made, but only by editing userchrome.css. I tried it, but it's nothing for me. And the customization of the Add-on Manager is awful. I am rather interested in custom buttons providing new useful functions and in good extensions definitely working in Mypal 68.

Cheers, AstroSkipper ecrire-ordi.gif

Edited by AstroSkipper
Update of content
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...