Remove javascript:void(0) replacement script

This commit is contained in:
Helen Chong 2024-06-03 23:49:43 +08:00
parent bb724e828b
commit 545a8c0254
1 changed files with 0 additions and 7 deletions

View File

@ -20,10 +20,3 @@
</div> </div>
</li> </li>
</ul> </ul>
<script>
const jsVoidStr = 'javascript:void(0)';
if (randomText.includes(jsVoidStr)){
randomText.replace(jsVoidStr, '#!');
}
</script>