Prevent Script from Running in Oxygen

This is a simple helper script that prevents JavaScript from running in Oxygen.

snippet Code

window.addEventListener(‘load’, function () {

if( window.angular ) { return; }

// your JavaScript here

});

Leave a Reply

Your email address will not be published. Required fields are marked *

    Table Of Contents

    Related Content

    © 2020-2024 Luxibay
    Name(Required)
    Please let us know what's on your mind. Have a question for us? Ask away.
    This field is for validation purposes and should be left unchanged.