20
submitted 1 day ago* (last edited 1 day ago) by InevitableSwing@hexbear.net to c/askchapo@hexbear.net

What's a very easy way to kill all js at a particular domain? Ideally - I'd like some kind of kill switch I can click.

Example link at news4sanantonio.com. The damn site showed me page as normal but for only literally about one second. And then I got that very annoying error message.

The only way I know is via Ublock Origin. I have to write a couple filters and that's annoying.

! news4sanantonio.com
! 2026-02-17 "Oops! Something went wrong!" Yes, that's true - you fuckers!
||news4sanantonio.com^$script
||news4sanantonio.com^$inline-script

---

Trivia

The number of SCRIPT tags on that page is insane.

  • In HEAD 53
  • In BODY 128
you are viewing a single comment's thread
view the rest of the comments
[-] buckykat@hexbear.net 15 points 1 day ago

noscript is a browser add-on that blocks all javascript

Seconding NoScript! I combine it with uBlock Origin, and between the two of them, they catch most of the drive-by crapware out there.

Unfortunately, this doesn't stop something like: <meta http-equiv="refresh" content="0; url=https://chapo.chat/" />

[-] Camden28@hexbear.net 7 points 1 day ago

It can block all scripts, but the current version lets some stuff through by default. You can allow or forbid scripts for each site, so you might, say, allow scripts from hexbear, forbid doubleclick, and leave gstatic on default.

this post was submitted on 18 Feb 2026
20 points (100.0% liked)

askchapo

23224 readers
290 users here now

Ask Hexbear is the place to ask and answer ~~thought-provoking~~ questions.

Rules:

  1. Posts must ask a question.

  2. If the question asked is serious, answer seriously.

  3. Questions where you want to learn more about socialism are allowed, but questions in bad faith are not.

  4. Try !feedback@hexbear.net if you're having questions about regarding moderation, site policy, the site itself, development, volunteering or the mod team.

founded 5 years ago
MODERATORS