• Google Page Speed complains for the no-right-click.js file, which blocks rendering.
    I tried to load via defer-method. But developer console complains, IwNRCargs.rightclick; is not defined in Line js:13.

    Is there a good way, to defer or async loading this script?

    Thanks for a short comment.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mauricio

    (@mauriciogarofalo)

    right click protection not working

    Thread Starter cd

    (@debe13)

    @mauriciogarofalo you should probably open a new support query. Because my problem is different, but could solve it, with the following line in the modified no-right-click.js

    var IwNRCargs = {    // added to file /********/
    

    “rightclick” : 1,

    "draganddrop" : 0
    

    };

    make sure, you checked it within the plugin setting and deleted all the cache and browser stuff, or try in another browser.

    • This reply was modified 6 years, 11 months ago by cd.
    • This reply was modified 6 years, 11 months ago by cd.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Defer loading no-right-click.js’ is closed to new replies.