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>"
Replace

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

http://css.torrens.org/valid-html401-bluehttp://css.torrens.org/valid-css Document URI: http://stronged.torrens.org/man/search/examples/js.html
Page first published: Thursday the 8th of March, 2018
Last modified:Wed, 06 Mar 2019 19:14:36 GMT
© 2018 - 2024 Richard Torrens.