News for hackers. Stuff that matters.
Re:Stop Asking Me to “Sign Up” (2014) by trevyn on Saturday September 26, 2020 @11:42PM (#24604074)
uBlock Origin, right-click, "Block element".

I thought it was just an ad blocker, but now I realize it's a "whatever DOM element I dislike" blocker.

Re:Stop Asking Me to “Sign Up” (2014) by thih9 on Sunday September 27, 2020 @03:11AM (#24604844)
This works unless the css classes or HTML structure change frequently.

I think e.g. Facebook does that and I’ve been unable to block annoying elements there.

Does anyone know how to make it work in that scenario?

Re:Stop Asking Me to “Sign Up” (2014) by zelphirkalt on Sunday September 27, 2020 @03:52AM (#24605004)
Even worse with random CSS class names and random ids on many websites. Some of the JS dev crowd think it to be a good idea to have class names random generated. I consider it to be a kind of dark pattern by now.
Re:Stop Asking Me to “Sign Up” (2014) by trevyn on Sunday September 27, 2020 @04:22AM (#24605094)
Some CSS-in-JS libraries will create a hash of the underlying CSS and use that as the class name. So not quite random, and should remain consistent if the underlying CSS hasn't changed.
Re:Stop Asking Me to “Sign Up” (2014) by SaltyBackendGuy on Sunday September 27, 2020 @12:34PM (#24607886)
Yeah it's terrible. The JS framework we use hijacks the ID property with some internal ID which is quite annoying in some cases.