-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathengine.html
124 lines (119 loc) · 5.67 KB
/
engine.html
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html>
<head>
<title>Direct Download Almost Anything</title>
<link rel='shortcut icon' href='../favicon.ico' type='../image/x-icon'/ >
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name="keywords" content="download,movies,games,music,softwares,epub,ebooks,pdf,mp3,songs,direct download">
<meta name="description" content="Find direct download links for about anything. TV Series, Movies, Books, music, softwares, games anything!! Take advantage of powerful advanced search of Google.">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script type="text/javascript">
function setFiletype(fileType, buttonData, glyph){
var defaultString = 'Search anything';
if (fileType==-1) {
fileType="";
}
switch(glyph) {
case 'film':
$("#query").prop('placeholder',defaultString+' eg. The.Blacklist.S01');
break;
case 'music':
$("#query").prop('placeholder',defaultString+' eg. K.Flay discography');
break;
case 'book':
$("#query").prop('placeholder',defaultString+' eg. 1985');
break;
case 'cd':
$("#query").prop('placeholder',defaultString+' eg. GTA V');
break;
case 'picture':
$("#query").prop('placeholder',defaultString+' eg. Donald Trump');
break;
case 'os':
$("#query").prop('placeholder',defaultString+' eg. Windows OS/Mac OS/Mac Software');
break;
}
$("#fileType").prop('value',fileType);
$("#ddbutton").html('<span class="glyphicon glyphicon-'+glyph+'" aria-hidden="true"></span> '+buttonData+' <span class="caret"></span>');
$("#query").focus();
}
function searchGoogle () {
var query = document.getElementById('query').value;
var fileType = document.getElementById('fileType').value;
if (fileType=="") {
var finalQuery = query+" -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml) intitle:index.of -inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)";
} else {
var finalQuery = query+" +("+fileType+") -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml) intitle:index.of -inurl:(listen77|mp3raid|mp3toss|mp3drug|index_of|wallywashis)";
}
var url = "https://www.google.com/search?q="+encodeURIComponent(finalQuery);
console.log(url);
window.open(url, '_blank');
}
function openDropdown(){
$('#ddbutton').click();
}
/* $(function () {
$('[data-toggle="tooltip"]').tooltip();
});*/
// $("#tooltip").tooltip('show');
</script>
<style type="text/css">
pre {
margin: 1em 0;
text-align: center;
}
.black-background {background-color:#000000;}
.white {color:#ffffff;}
</style>
</head>
<!-- Opening body tag -->
<body onload="openDropdown();">
<!-- Header -->
<pre class="hidden-xs" align="center"><img src="google.png" alt="" />
<div>
Get direct download links for almost anything.
</div>
</pre>
<!-- Mobile Header -->
<div align="center" class="row visible-xs">
<h1>Open Directory Search</h1>
Get direct download links for almost anything!!
<hr />
</div>
<div class="container">
<form id="searchForm" onsubmit="searchGoogle()">
<input type="hidden" name="fileType" value="" id="fileType">
<div class="row" align="center">
<div class="col-lg-3"></div>
<div class="col-lg-6">
<div class="input-group">
<div class="input-group-btn">
<button id="ddbutton" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Choose Filetype <span id="message" class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#" onclick="setFiletype('mkv|mp4|avi|mov|mpg|wmv', 'TV/Movies', 'film')"><span class="glyphicon glyphicon-film" aria-hidden="true"></span> TV/Movies/Video</a></li>
<li><a href="#" onclick="setFiletype('MOBI|CBZ|CBR|CBC|CHM|EPUB|FB2|LIT|LRF|ODT|PDF|PRC|PDB|PML|RB|RTF|TCR|DOC|DOCX', 'Books', 'book')"><span class="glyphicon glyphicon-book" aria-hidden="true"></span> Books</a></li>
<li><a href="#" onclick="setFiletype('mp3|wav|ac3|ogg|flac|wma|m4a', 'Music', 'music')"><span class="glyphicon glyphicon-music" aria-hidden="true"></span> Music</a></li>
<li><a href="#" onclick="setFiletype('exe|iso|dmg|tar|rar|zip|apk', 'Software/Games', 'cd')"><span class="glyphicon glyphicon-cd" aria-hidden="true"></span> Software/Games</a></li>
<li><a href="#" onclick="setFiletype('jpg|png|bmp|gif|tif|tiff|psd', 'Images', 'picture')"><span class="glyphicon glyphicon-picture" aria-hidden="true"></span> Images</a></li>
<li><a href="#" onclick="setFiletype('zip|iso|dmg', 'ISO/DMG', 'os')"><span class="glyphicon glyphicon-asterisk" aria-hidden="true"></span> ISO/DMG</a></li>
</ul>
</div><!-- /btn-group -->
<input type="text" name="query" value="" id="query" class="form-control" placeholder="Search anything e.g The.Blacklist.S01.E01">
<span class="input-group-btn">
<a href="#" onclick="searchGoogle()" class="btn btn-default black-background white"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></a>
<!-- <button class="btn btn-default" type="button">Go!</button> -->
</span>
</div>
</div>
<div class="col-lg-3">
</div>
</div>
</form>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> -->
</div>
</body>
</html>