#4800 uBlock Origin breaks repo stats page
Opened 4 years ago by sudoman. Modified 3 years ago

In order to see the statistics on https://pagure.io/pagure/stats#authors, I have to disable blocking by uBlock Origin.

Loading failed for the <script> with source “https://pagure.io/static/issues_stats.js?version=5.9.1”.

In order to see the statistics on https://pagure.io/pagure/stats#authors, I have to disable blocking by uBlock Origin.

Loading failed for the <script> with source “https://pagure.io/static/issues_stats.js?version=5.9.1”.

This is odd, do it say why it's blocking it? The JS file and the ajax requests
should all be local/same domain

It looks like it's complaining about the filename containing the string _stats.js?.

(Yeah, it does seem overly strict)

I'm not quite sure what to do of this one

Maybe https://pagure.io/pagure/pull-request/4814 will improve this as well but otherwise, I'm not sure what the solution is

In an ideal world, it wouldn't be necessary, but one option is to rename the affected JS files.

uBlock Origin uses community maintained lists, doesn't it? Maybe someone can submit updates there to fix this?

As a workaround, I added an exception to uBO: @@||pagure.io/*_stats.js

Login to comment on this ticket.

Metadata