I want to stop execution of window.location as in below when a page loads:
<script type="text/javascript">
alert('Bid closed ');
window.location = '/index.html';
</script>
I'm able to bypass alert
message by replacing alert
function during document_start
in the manifest.json. But unable to stop window.location from executing.