3 ms·
Sometimes sites have code that triggers in debug mode and keeps it in a loop. Any tips there, or is the "break and modify source to remove it" the only way?
by Raidion 3y ago
Sometimes sites have code that triggers in debug mode and keeps it in a loop. Any tips there, or is the "break and modify source to remove it" the only way?
- TeMPOraL 3y agoOne should be able to put code for both removing listeners and adding the CSS override into a bookmarked. That will not trigger the anti-debugging crap.
- savolai 3y agoAdd this as bookmarklet i.e. url contents in bookmark: javascript:(function(){var style=document.createElement('style');style.type='text/css';style.innerHTML='* { user-select: all !important; }';document.head.appendChild(style);document.body.oncontextmenu=function(){return true;};})(); (Untested)
- chrismorgan 3y ago> style.type='text/css'; Superfluous. I don’t understand why people often do this on stylesheets or scripts (type="text/javascript"), because it has never at any time been necessary or useful.
- StingyJelly 3y agoThis somehow breaks text selection for me (just selects all text). Here are some useful bookmarklets including a working one to enable right-click and text selection: https://github.com/alanhogan/bookmarklets https://github.com/alanhogan/bookmarklets
- StingyJelly 3y agoJust a note, run them trough https://alanhogan.github.io/bookmarkleter/ https://alanhogan.github.io/bookmarkleter/ before creating the bookmark
- netsharc 3y agoDisable stopping on breakpoints: https://i.stack.imgur.com/xr0X9.png https://i.stack.imgur.com/xr0X9.png