I need to delete topic tools and post tools when I load a topic/post and now I use jquery to do this but I'm not satisfy from the result. In fact when I reload the page I see for a nanosecond the components that after there are delete fast. But I want that the user can't see this so anyone can help me to resolve in another way? With some hooks or some method?
UNSOLVED Debugging frontend js with chrome dev tools
What is the ideal way to approach debugging scripts that run on page load?
For some reason I get the same behavior with nodebb.min.js. The breakpoints are all lost on refresh, although the resource name is the same every time (
The only way I can think of is to cause whatever is meant to run on a page load to run on some sort of a specific event that is triggered after I got a chance to set the breakpoints. Or simply flood the code with
@Qwertyzw you could put a
debugger;statement where you want it to break.