Page 2 of 2

Re: Tool: HtmlPreprocessor for SpiderBasic

Posted: Sun Aug 26, 2018 10:41 am
by Peter
Hello Hans-Peter,

to answer your question, we need a little more information (e.g. an executable code). And please open a new thread, because it's off topic here.

Greetings ... Peter

Re: Tool: HtmlPreprocessor for SpiderBasic

Posted: Mon Oct 15, 2018 12:56 pm
by Dirk Geppert
Useful injections..

Code: Select all

Show a message, if Javascript is blocked:
;!        "search": "</body>",
;!        "replace": "<noscript><p>&nbsp;</p><p align='center'>JavaScript is not enabled</p></noscript>\n</body>"

Set WebPage Title
;!        "search": "</title>",
;!        "replace": "</title>\n\n<link rel='stylesheet' title='my Title text' href='libs/vvo/style_vvo.css' type='text/css'/>"

Define App Icon and declare as webapp
;!        "search": "<meta charset=",
;!        "replace": "<meta name='apple-mobile-web-app-capable' content='yes'>\n<link rel='icon' sizes='512x512' href='myIcon.png'>\n<meta charset="

;!        "search": "<meta charset=",
;!        "replace": "<link rel='apple-touch-icon-precomposed' href='myIcon.png'/>\n<meta charset="

For mobile Devices
;!        "search": "<meta charset=",
;!        "replace": "<meta name='viewport' content='initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width' />\n<meta charset="

;!        "search": "<meta charset=",
;!        "replace": "<meta name='apple-mobile-web-app-title' content='myAppName'/>\n<meta charset="