-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (30 loc) · 1.65 KB
/
index.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
<!DOCTYPE html>
<html>
<meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'>
<script>
function changeSearch(sname) {
document.getElementById('content').innerHTML = hash[sname]
}
var hash = [];
hash['cdj'] = '<link rel="search" type="application/opensearchdescription+xml" href="https://raw.githubusercontent.com/3ricG/OpenSearchPlugins/master/cdj.xml" title="CDJapan Search">';
hash['dcs'] = '<link rel="search" type="application/opensearchdescription+xml" href="https://raw.githubusercontent.com/3ricG/OpenSearchPlugins/master/discogs.xml" title="Discogs Search">';
hash['wbm'] = '<link rel="search" type="application/opensearchdescription+xml" href="https://raw.githubusercontent.com/3ricG/OpenSearchPlugins/master/wbm.xml" title="WaybackMachine Search">';
hash['sp'] = '<link rel="search" type="application/opensearchdescription+xml" href="https://raw.githubusercontent.com/3ricG/OpenSearchPlugins/master/sp.xml" title="StartPage Search">';
</script>
<h2>Instructions</h2>
Click one of the links below to change the link type on this page. <br />
Once clicked, a green plus sign (+) should appear next to the search <br />
icon on your Firefox search bar. Click this, and select <br />
"Add [name of search provider]".<br />
<br />
Open Search Plugins:<br />
<ul>
<li><a onclick='changeSearch("cdj")' href='#'>CDJapan Search</a></li>
<li><a onclick='changeSearch("dcs")' href='#'>Discogs Search</a></li>
<li><a onclick='changeSearch("wbm")' href='#'>WaybackMachine Search</a></li>
<li><a onclick='changeSearch("sp")' href='#'>StartPage Search</a></li>
</ul>
<div id="content"></div>
</html>