Customizing Reading Mode

Everything about using Adblock Browser on Android
Post Reply
NEWBU
Posts: 3
Joined: Sun Jun 06, 2010 5:38 pm

Customizing Reading Mode

Post by NEWBU »

Is it possible to customize Reading Mode to select which content to be displayed/hidden?

Example: this website has a HTML <style> tag "display: none" in the page's source (to prevent content stealing as announced by the website's admin)

Code: Select all

<style>
        .kxGxfXhRBnGfLogSeUQo  {
            display: none;
        }
        .jOhVdoNhjDvlErRiJGSP  {
            display: none;
        }
        .zNQRFYAlRpFGvkZqgTfk  {
            display: none;
        }
        .afIlfYrYdCPhGJgGXMKN  {
            display: none;
        }
        .qLGaRnYDYLincuYCoFwG  {
            display: none;
        }
        .tZmOYOdElKeBOfYwGSFL  {
            display: none;
        }
        .vdgAcChUhTHmwVRGXVcL  {
            display: none;
        }
        .lAYgsEdoHPyApkXBmdfP  {
            display: none;
        }
</style>
In normal mode, these contents will be hidden, but in Reading Mode, a lot of annoying text will be showed as in the screenshots below (that website's admin is aware about the incompatibility with Reading Mode)

Screenshot in normal mode:
https://imgur.com/a/hqe1M
Screenshot of the same website in Reading Mode:
http://imghost.ucoz.org/upload20/201710230858001897.png
lewisje
Posts: 2743
Joined: Mon Jun 14, 2010 12:07 pm

Re: Customizing Reading Mode

Post by lewisje »

If the filters even work in reading mode, you could add a bunch of hiding rules, like

Code: Select all

rebirth.online##.kxGxfXhRBnGfLogSeUQo
and so on; this won't work so well if those CSS classes are randomly generated each time.
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.
Post Reply