forked from remy/jsconsole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inject.html
18 lines (18 loc) · 977 Bytes
/
inject.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<title>Inject JS Console</title>
<meta id="meta" name="viewport" content="width=device-width; height=device-height; user-scalable=no; initial-scale=1.0" />
<style>* { font-family: sans-serif; }</style>
<script>
if (!window.location.search) {
window.location = "?javascript:(function(s){s.src='http://jsconsole.com/inject.js';document.body.appendChild(s)})(document.createElement('script'))";
}
</script>
</head>
<body>
<p>This page should redirect right away to the correct url, once it does, bookmarket it on your mobile phone, then remove the <em>http://jsconsole.com/inject.html?</em> (including the question mark) part to get the bookmarklet to work.</p>
<p>Alternatively, to inject JS Console, bookmarket this: <a href="javascript:(function(s){s.src='http://jsconsole.com/inject.js';document.body.appendChild(s)})(document.createElement('script'))">JS Console</a> and sync to your phone.</p>
</body>
</html>