Closed Mokura closed 1 year ago
Thanks to this, I noticed that every time the design of the DeepL site changes, the hash value of the class name changes.
.TranslatorPage-module--otherSections--3cbQ7 -> .TranslatorPage-module--otherSections--Ko+6x
A corrected version will be released soon.:+1:
It's a somewhat common tactic used by bigger companies' sites in order to combat content filtering (like adblocking lists). It's very gross, and I can't imagine it does any favors for code readability, either. Thank you for your work!
There might be more (I have a filter that zaps cookie notices, for-ex) but the following are ublock origin filters I use to simplify DeepL on Firefox Mobile.
deepl.com##.TranslatorPage-module--otherSections--Ko\+6x deepl.com##footer deepl.com##.AppBanner-module--banner--2Ezkw deepl.com##a[href^="/pro"]
Which results in this:
I might have to go back and get a different selector for the last element - I'm not as knowledgeable about scrubbing things with JS/CSS vs ublock filters.