ccd0 / 4chan-x

Adds various features to anonymous imageboards.
https://www.4chan-x.net/
Other
981 stars 133 forks source link

4chan CSS broken for some reason #1880

Closed ghost closed 6 years ago

ghost commented 6 years ago

4chan's CSS seems broken for some reason, even when looking at 4chan-x's settings. Images and console error messages, umatrix grid for an example page (the /a/ catalog page), and pic of Tampermonkey/script versions attached.

tampermonkey scripts umatrix grid broken css even in 4chanx settings broken css console error messages

bakugo commented 6 years ago

If you block those domains at the bottom of umatrix, 4chan will break its own CSS as an anti-adblocking measure.

Use ublock instead, it has filters that kill the script and stop this from happening.

ghost commented 6 years ago

Weird, I have uBlock active already. Attached is how uBlock looks on the /a/ catalog page. ublock on _a_ catalog

ghost commented 6 years ago

Huh; I set both columns for the three scripts settings to red, then refreshed. The CSS is still broken, though. Oh yeah, forgot to mention, I'm on Firefox Quantum 59.0.2 (64-bit). Same stuff happens on FF ESR 52.7.3.

ghost commented 6 years ago

@bakugo, do you know which specific filter does this?

bakugo commented 6 years ago

The specific filter that should kill the script is this: 4chan.org##script:inject(abort-current-inline-script.js, String.fromCharCode, /\/\*[0-9a-f]{40}\*\//) It should be in the "uBlock filters" built-in list, make sure it's up to date. If it still doesn't work, see if it works with umatrix off. I've heard that running both ublock and umatrix at the same time can cause issues.

ghost commented 6 years ago

OK, I see that filter in the built-in list, as you said. That said, all my filters seem out-of-date (they have they little ! icon next to them), but when i update they fail with "a network error prevented the resource from being updated". So it looks like I can't update the filter lists for some reason.

ghost commented 6 years ago

4chan seems to be working fine now. Only change I made after coming back from outside was to change all the 4cdn.org entries under the "frame" column in uMatrix to green; 4cdn.org was mentioned in #1746, which made me think it was somehow related. So if it's alright with ccd0 et al, I'd like to keep this issue open while I use 4chan for a day or two and see if it's really back to normal for me, then close afterwards if it looks OK.

ghost commented 6 years ago

4chan seems fine now, no further problems with the CSS. Closing this issue.