Answer the question
In order to leave comments, you need to log in
[JS] Delete script before it is loaded and executed
Good afternoon, colleagues.
There is a following task
there is a code
How to delete this script even before it is loaded and executed? How to prevent it from loading?
You cannot change this piece of code, but you can add another one above or below.
<script type="text/javascript"
src="http://example.com/script1.js">
Answer the question
In order to leave comments, you need to log in
<noscript>
<script type="text/javascript"
src="http://example.com/script1.js">
</noscript>
<body>
start
<script type="text/javascript">
// <!--
document.write("<!"+'--');
// -->
</script>
<script type="text/javascript" src="alert.js"></script>
<script type="text/javascript">
// <!--
document.write(" -"+"->");
// -->
</script>
end
</body>
* This source code was highlighted with Source Code Highlighter.
document.write(" -"+"->");
a// -->
after him.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question