Skip to content
jawz101 edited this page Feb 25, 2020 · 3 revisions

4 Steps to fix website breakage:

Let's get used to the uBlock logger:

Step 1)

To open the logger, click this icon:

tip- hold down shift key when clicking that to open the logger in a tab instead of a window.

open_logger

Step 2)

Because we block scripts that directory on any site with this ||*/wp-content/plugins/*$script rule in our My Filters. We're just adding exceptions to the rule. search for /wp-content/plugins/ and now it is just trial and error. Find one of the lines that sounds like a generic thingy and click on that line.

watch_site

Step 3)

In the new rule builder window, click on the Static Filter tab. Here we will Allow Scripts where the URL address matches something.com/wp-content/plugins/subfolder/... you can get as specific as you want here but, in the least, get the next subfolder after the wp-contents/plugins/ one.

static_filter

Step 4)

Finally, we need to say it can originate from Anywhere and then we need to replace the main domain with a wildcard * so it will apply to any site that uses this plugin. Hit the refresh button and see if the rule fixed the breakage. If it didn't, remove the rule from your MyFilters and keep trying other ones from the log until the site works fine. All we're doing is just poking tiny holes to allow some plugin scripts to work.

wildcard

Clone this wiki locally