Tool: HtmlPreprocessor for SpiderBasic

Share your advanced knowledge/code with the community.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Tool: HtmlPreprocessor for SpiderBasic

Post 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
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: Tool: HtmlPreprocessor for SpiderBasic

Post 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="
Post Reply