Userscript How to prevent the execution of a certain function in inline js?
给我你的怀抱
给我你的怀抱 2017-07-05 10:57:02
0
1
731
// ==/UserScript== (function() { bad = {}; })();

Can be disabled:

  Click   

Cannot be disabled:

    

How to block the second situation

给我你的怀抱
给我你的怀抱

reply all (1)
洪涛
const bad = {};

This way your function cannot be reassigned. But when assigning a value, an error occurs.

Or try usingProxy.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!