Comment by KomoD

3 years ago

> • Fix Cloudflare “[email protected]” stupidity without having to run the page’s arbitrary JavaScript. (Basically: take their deobfuscator script and just run it myself if it gets used. Only people that deliberately block JavaScript are likely to have seen this, but it’s quite common. The filter they use is evidently very dumb, obfuscating quite a few things that are not email addresses, including things like “package-name@1.2.3” (not even valid—IP address hosts have to be in square brackets, and DNS doesn’t use numeric TLDs) and “user@host” in console logs.)

> • Hold z to make a currently-playing audio or video go at 4× (the fastest you can go before Firefox cuts off the audio).

Are these open-source by any chance?

I haven’t got round to publishing them properly (z = fast-forward in particular I have in mind to write a blog post about, on how to write user scripts for things you want), but the fast-forward one is at https://temp.chrismorgan.info/z%20=%20%E2%8F%A9.user.js. For the Cloudflare one, I won’t list its full source, but it’s this:

  if (document.querySelector("script[src$='/cloudflare-static/email-decode.min.js']")) {
      {The source of that JavaScript file, minus the “remove the email-decode.min.js script tag” thing.}
  }