Is it possible to break javascript execution in FireBug (or in some other web developer tool) always when cookie is set (without setting JS breakpoints explicitly)?
document.cookie = '...';
Harri
Is it possible to break javascript execution in FireBug (or in some other web developer tool) always when cookie is set (without setting JS breakpoints explicitly)?
document.cookie = '...';
Harri
Try setting it in a If statement.
note: when using firefox your console has to be open. in chrome this is not the case.
https://stackoverflow.com/a/41247745/2158271 does not seem to work in Chrome. Adding this snippet in the beginning of an html → head block works fine:
See this Angular University page for more information.
This should work (run it in a console):