forked from sinwindie/OSINT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBookmarklet Templates
More file actions
25 lines (18 loc) · 883 Bytes
/
Bookmarklet Templates
File metadata and controls
25 lines (18 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Template for extracting targeted text from source code
javascript:
var html = document.documentElement.innerHTML;
var subhtml = html.split('$leftlimittext’)[1];
var output = subhtml.split('$rightlimittext’)[0];
alert(output)
// Template for running multiple URL-structured queries
javascript:
var input = prompt("Prompt user for Input");
var variable1 = "$URLSTRUCTUREONE" + input;
var variable2 = "$URLSTRUCTURETWO" + input;
var variable3 = "$URLSTRUCTURETHREE" + input;
SiteOneFunction();
SiteTwoFunction();
SiteThreeFunction();
function SiteOneFunction() { setTimeout(function(){ window.open(variable1, "_blank"); }, 1000); }
function SiteTwoFunction() { setTimeout(function(){ window.open(variable2, "_blank"); }, 1000); }
function SiteThreeFunction() { setTimeout(function(){ window.open(variable3, "_blank"); }, 1000); }