blob: 4bd5802d95f879eac092877fcf69f605f742d44b (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<html>
<head>
</head>
<body>
<div style='position:fixed; top:30px; right:50%; font-size:40px; text-transform:uppercase;' id='callback'></div>
<input type='text' id='urlinput' style='width:700px; font-size:20px; position:fixed; top:50%; right:50%;'></input>
<button id='inputbutton' style="position:fixed; top:60%; right:50%">CLICK AND CZECH IT OUT</button>
<div><a href="http://www.scannerjammer.com/tumblrplay/play.html" target="_blank">the end result</a></div>
<script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script>
<script type='text/javascript'>
function callback()
{
$('#callback').html('DONE')
}
function hitit()
{
value = $('#urlinput').val()
url = {url:value}
if(value == "")
{
$('#callback').html('ENTER A URL')
}
else if(value.indexOf('tumblr.com') == -1)
{
$('#callback').html('TUMBLRS ONLY PLEASE')
}
else
{
$('#callback').html('entered'+value)
$.post('/cgi-bin/tumblrplay/playcgi',url,callback)
}
}
$('#inputbutton').click(function(){hitit()});
</script>
</body>
</html>
|