AstroSkipper Posted June 7, 2022 Posted June 7, 2022 (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 which actually only supports webextensions, like Firefox editions 57+. Therefore, all our beloved legacy extensions can't be used anymore except those ported to webextensions by their developers. Especially all custom buttons extensions don't work anymore and there are no replacements among the webextensions. In the past I created some custom buttons by using JavaScript, but none of them can be loaded in Mypal 68. 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 webextensions 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. 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 webextensions. 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. Requirements for loading UC.JS scripts and CSS stylesheets 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 button UC.JS scripts can be added to the profile's chrome folder. They all end with the extension .uc.js, for example RestartFirefoxButton_Movable.uc.js. In some cases, the userChrome.css file has to be edited to load additional CSS files needed by the already added UC.JS script files. In any case, all CSS stylesheets files have to be copied to the css subfolder from where they have to be always imported by the userChrome.css file via the import command or alternatively by a CSS loader script. This is the download link of the package MYPAL_68_CB_requirements.7z I created which contains all required files for the custom buttons and CSS implementations posted by me: https://www.mediafire.com/file/m84enyyuz7up01y/Mypal_68_CB_requirements.7z/file Update 14.01.2025 Custom Buttons requirements, i.e. the Nuchi-Sporif UC.JS script loader for Mypal 68 and compatible browsers. Modified and provided by AstroSkipper. 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 the config.js file into Mypal's installation folder, next to the main executable mypal.exe. Copy the config-prefs.js file to the defaults\pref subfolder inside the Mypal installation folder, next to the already existing channel-prefs.js file. Finally, copy the files userChrome.js, userChrome.css and userChrome.xml into the Mypal chrome folder. 3. For the Nuchi-Sporif script loading method, the preference general.config.filename will be automatically set to the string value of config.js by the config-prefs.js file after starting the browser. The preference general.config.sandbox_enabled can be left at Mypal's default for this method. Only for other script loading methods, it has to be set to the Boolean value of false in about:config, which means, it then should be enabled in the config-prefs.js file (since I have commented it out for the use of the Nuchi-Sporif script loading method at the moment) and automatically set by this file after starting the browser. The preference general.config.obscure_value doesn't seem to be absolutely necessary for the Nuchi-Sporif script loading method either, but for the legacy Custom Buttons extension and has to be set to the value of 0. This will be automatically done by the config-prefs.js file after starting the browser. Last but not least, another important preference toolkit.legacyUserProfileCustomizations.stylesheets has to be set to the Boolean value of true which will be automatically done by the config.js file. 4. Now, new custom button UC.JS scripts can be added to the profile's chrome folder. They all end with the extension .uc.js, for example RestartFirefoxButton_Movable.uc.js. In some cases, the userChrome.css file has to be edited to load additional CSS files needed by the already added UC.JS script files. In any case, all CSS stylesheets files have to be copied to the css subfolder from where they have to be always imported by the userChrome.css file via the import command or alternatively by a CSS loader script. Here is a short changelog of my new package Mypal 68 CB requirements - Updated 12.01.2025.7z: In the config-prefs.js file, comments added and the pref general.config.sandbox_enabled deactivated. In the config.js file, unnecessary code removed. In the userChrome.css file, information added how to import CSS stylesheets. In the userChrome.js file, the error "ReferenceError: XPCOMUtils is not defined" fixed in two different ways: either unnecessary code completely removed, or the corrected file userChrome.js.FixedJustForFunByAstroSkipper can be used (the extension .FixedJustForFunByAstroSkipper has to be removed, of course ). Instructions in the Instructions - Please read me first!.txt file updated. This is the download link of the package Mypal 68 CB requirements - Updated 12.01.2025.7z I created which contains all required files for the Nuchi-Sporif script loading method to load UC.JS scripts and CSS stylesheets in Mypal 68: https://www.mediafire.com/file/08g7r4brr5mukkh/Mypal_68_CB_requirements_-_Updated_12.01.2025.7z/file 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! Update notification: 10/06/2022: The file MYPAL_68_CB_requirements.7z has been updated and corrected. Download link above. 11/06/2022: New beta version released: 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: New beta version released: Mypal 68.12.5b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.12.5b/mypal-68.12.5.en-US.win32.zip 14/05/2023: New beta version released: Mypal 68.13.0b. Download link: https://mega.nz/file/QaY1zLLY#PhGLpVBfu51To4sjqSgfjaLX6nyebwye82FliTf41yA 28/06/2023: New beta version released: Mypal 68.13.1b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.13.1b/mypal-68.13.1.en-US.win32.zip 15/07/2023: New beta version released: Mypal 68.13.2b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.13.2b/mypal-68.13.2.en-US.win32.zip 07/10/2023: New beta version released: Mypal 68.13.3b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.13.3b/mypal-68.13.3.en-US.win32.zip 17/10/2023: New beta version released: Mypal 68.13.4b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.13.4b/mypal-68.13.4.en-US.win32.zip 30/10/2023: New beta version released: Mypal 68.13.5b. Download link: https://github.com/Feodor2/Mypal68/releases/download/68.13.5b/mypal-68.13.5.en-US.win32.zip 11/11/2023: New beta version released: Mypal 68.13.6b. Download link: https://github.com/Feodor2/Mypal68/releases/tag/68.13.6b 18/11/2023: New beta version released: Mypal 68.13.7b. Download link: https://github.com/Feodor2/Mypal68/releases/tag/68.13.7b 07/01/2024: New beta SSE version released: Mypal 68.13.8b. Download link: https://github.com/Feodor2/Mypal68/releases/tag/68.13.8b 17/02/2024: New beta version released: Mypal 68.13.9b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.13.9b 24/04/2024: New beta version released: Mypal 68.14.0b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.14.0b 04/05/2024: New beta version released: Mypal 68.14.1b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.14.1b 01/06/2024: New beta version released: Mypal 68.14.2b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.14.2b 21/07/2024: New beta version + beta SSE version released: Mypal 68.14.3b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.14.3b 03/08/2024: New beta version + beta SSE version released: Mypal 68.14.4b. Download link: https://codeberg.org/Theodor2/Mypal68/releases/tag/68.14.4b 25/11/2024: New beta version version released: Mypal 68.14.5b. Download link: https://github.com/Feodor2/Mypal68/releases/tag/68.14.5b 14/01/2025: The file MYPAL_68_CB_requirements.7z has been updated and corrected and is now named Mypal 68 CB requirements - Updated 12.01.2025.7z. Download link above. 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, script-generated objects, CSS code implementations, extensions or special articles 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. Kind regards, AstroSkipper Edited January 14 by AstroSkipper Update of content 2
AstroSkipper Posted June 7, 2022 Author Posted June 7, 2022 (edited) Alphabetic list of useful and fully working custom buttons, script-generated objects 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 HideTabbarWithOneTab → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1271917 Make the tab bar invisible in Mypal 68 → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1271453 memoryMinimizationButton → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1220511 Menu bar items on hover when using themes → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1256511 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 Tabs below navigation toolbar → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1255828 Edited August 30, 2024 by AstroSkipper Update of content
AstroSkipper Posted June 7, 2022 Author Posted June 7, 2022 (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 Add custom search engine → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1254846 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 mozlz4-edit → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1256337 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 Additional list of special articles: Managing search engines in Mypal 68→ https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1254603 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 Overview of script loading methods for Mypal 68 → https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1276803 Restoring the manual and automatic update function for extensions in Mypal 68.13.3b→ https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1253829 Transferring search engines from one profile to another→ https://msfn.org/board/topic/183657-mypal-68-in-windows-xp-custom-buttons-and-extensions/?do=findComment&comment=1256847 Edited January 15 by AstroSkipper Update of content 1
AstroSkipper Posted June 7, 2022 Author Posted June 7, 2022 (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 June 11, 2022 by AstroSkipper Update of content
AstroSkipper Posted June 7, 2022 Author Posted June 7, 2022 (edited) Forget Button - Clean your Browser Quickly delete your browser history, cookies, cache, downloads, forms, and passwords. This extension actually clears the browser cache. Tested version: 0.1.8 Download link: https://addons.mozilla.org/en-US/firefox/addon/ecleaner-forget-button/ Edited June 9, 2022 by AstroSkipper
AstroSkipper Posted June 8, 2022 Author Posted June 8, 2022 AdBlocker Ultimate Completely remove ALL ads. No “acceptable” ads or whitelisted advertisers allowed. This free extension also helps block trackers and malware. For me a very good Ad blocker beside uBlock Origin. Tested version: 3.7.18 Download link: https://addons.mozilla.org/en-US/firefox/addon/adblocker-ultimate/
AstroSkipper Posted June 8, 2022 Author Posted June 8, 2022 (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 June 11, 2022 by AstroSkipper
AstroSkipper Posted June 10, 2022 Author Posted June 10, 2022 Update notification: 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
AstroSkipper Posted June 11, 2022 Author Posted June 11, 2022 (edited) Update notification: 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 Edited June 11, 2022 by AstroSkipper
AstroSkipper Posted June 11, 2022 Author Posted June 11, 2022 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/
AstroSkipper Posted June 11, 2022 Author Posted June 11, 2022 (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 June 11, 2022 by AstroSkipper Update of content
roytam1 Posted June 12, 2022 Posted June 12, 2022 customize UI though https://github.com/Aris-t2/CustomCSSforFx/releases/tag/3.3.2 2
mockingbird Posted June 12, 2022 Posted June 12, 2022 12 hours ago, roytam1 said: customize UI though https://github.com/Aris-t2/CustomCSSforFx/releases/tag/3.3.2 Forgive my ignorance, how does one install this?
mockingbird Posted June 12, 2022 Posted June 12, 2022 On 6/11/2022 at 8:01 AM, AstroSkipper said: Update notification: 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 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.
AstroSkipper Posted June 12, 2022 Author Posted June 12, 2022 (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 Edited June 12, 2022 by AstroSkipper Update of content
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now