Absolute Enable Right Click & Copy

Force Enable Right Click & Copy & Highlight

< Spätná väzba na Absolute Enable Right Click & Copy

Otázka/komentár

§
Pridaný: 15.07.2019

How to enable Absolute mode by default?

Hello! How to enable Absolute mode by default?

§
Pridaný: 15.07.2019

Hi,

Enabling "Absolute Mode" by default will break a lot of sites don't have copy protection by default, like google maps, docs, etc.. That's why the developer didn't enable "Absolute Mode" by default.

However, you should enable "Absolute Mode" only on websites that require to force enable copy.

The developer already mentioned in the script description how to always enable "Absolute Mode" on specific websites.

Inside the script add the websites you want always use "Absolute Mode". In this line let sites = ['example.com','www.example.com'];

    function alwaysAbsoluteMode() {
        let sites = ['example.com','www.example.com'];
        const list = RegExp(sites.join('|')).exec(location.hostname);
        return list ? absoluteMode() : null;
    }

I hope this's helpful.

Pridať odpoveď

Aby ste mohli pridať odpoveď, prihláste sa.