jangdonggun1234 wrote: ↑2022-11-27, 02:28
it's pretty unconfortable to turn on and turn of WebComponents manually
I have made an Add-On that AUTOMATICALLY changes the setting "dom.webcomponents.enabled = true" for a page ("domain") which have been added to "Options" and automatically returns to the "default" setting ("dom.webcomponents.enabled = false") when I activate another TAB or when I close that page.
Screenshots:
1. The URL
https://www.fanbox.cc/ has not yet been added to "options" (the page is blank).
2. Since the URL
https://www.fanbox.cc/ has not yet been added to "options", the page does not appear in the add-on's options list.
3. Right-click on the add-on button to add the URL
https://www.fanbox.cc/ to options. In the menu that opens, click on "Add page that requires Web Components".
4. In the window that opens, enter the page name (of your choice) and its URL (including the HTTPS "protocol").
5. After adding the URL
https://www.fanbox.cc/ to the options, the page "fanbox.cc" loads properly.
6. Now, the "fanbox.cc" page is also in the add-on's options list, and so the "Web Components" will automatically be set to "true" every time a page that belongs to the "top level domain" "fanbox.cc" is opened.
7. When switching to a TAB whose URL has not been added to the options (e.g.
https://forum.palemoon.org/), "Web Components" will automatically be set to "false".
8. Pages that need "dom.webcomponents.enabled = true" and are opened by Clicking on a Link must be opened in the FOREGROUND with "Ctrl + Shift" pressed while Clicking on a Link (e.g. on a page with "Google Search" results - or when navigating between different pages of a website that needs "dom.webcomponents.enabled = true").
*****
You can download the add-on here:
https://www.mediafire.com/file/78xoiy67qbf41tt/webcomponents_on_off.zip/file
Try it and see if it's ok for you.
In the ZIP archive you will also find the "HELP.txt" file with more detailed information about how the add-on works.