Remove javascript:void(0) replacement script
This commit is contained in:
parent
bb724e828b
commit
545a8c0254
|
@ -20,10 +20,3 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<script>
|
|
||||||
const jsVoidStr = 'javascript:void(0)';
|
|
||||||
if (randomText.includes(jsVoidStr)){
|
|
||||||
randomText.replace(jsVoidStr, '#!');
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
Loading…
Reference in New Issue