Absolute Enable Right Click & Copy

Force Enable Right Click & Copy & Highlight

< Feedback on Absolute Enable Right Click & Copy

Question/comment

§
Posted: 2019-07-15

How to enable Absolute mode by default?

Hello! How to enable Absolute mode by default?

§
Posted: 2019-07-15

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.

Post reply

Sign in to post a reply.