Removing JavaScript from a www page

To remove JavaScript from a Netsurf page first press F8 in the Netsurf page - this will throw the page's script out to StrongED.

Now, in StrongED, do Shift-F4 to open the search and replace dialogue box. Click on the "Engine - Simple" icon to change to Advanced.

Enter the following in the Search box, leave the replace box empty.

Search "<script"**"/script>"

Click "Go" then "Replace All"

Now click on StrongED's Run icon to view the page without JavaScript.

How it works

"<script" - this looks for the actual text <script
** - searches forward in the text for ...
"/script>" - the actual text /script>

Top of page

Page Information Document URI:
Page first published: Thursday the 8th of March, 2018
Last modified:Wed, 06 Mar 2019 19:14:36 GMT
© 2018 - 2024 Richard Torrens.