I don't have a working iOS device but can some test this userscript, "Stop Nefarious Redirects" ? it supposedly Blocks unauthorized redirects and prevent history manipulation.
Block unauthorized redirects and prevent history manipulation
greasyfork.org
Userscripts is an open source Safari extension that lets you save and run arbitrary bits of JavaScript (and CSS) code for the websites you visit. It implements a code editor right in your browser for a simple method of creating, editing and saving your code. Features: - Open source -...
apps.apple.com
To show only text content and no HTML source code, here are the steps to use userscripts on Safari:
1. Download and open the Userscripts extension from the App Store.
2. Specify the folder where you store the userscripts. Save some userscripts in ".js" format in that folder.
3. Open Safari and tap on the "AA" icon from the address bar.
4. Select "Manage Extension" and toggle on Userscripts.
5. Tap on the "AA" icon again and select Userscripts.
6. Allow access to certain websites and tap "Done" to confirm.