Repository navigation
Expand file tree
/
Copy pathgdgtSearchReview.html
More file actions
51 lines (40 loc) · 2.82 KB
/
Copy pathgdgtSearchReview.html
File metadata and controls
51 lines (40 loc) · 2.82 KB
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
<html>
<head>
<style>
a.cool {width: 250px;-webkit-background-clip: border-box;-webkit-background-origin: padding-box;-webkit-background-size: auto;background-attachment: scroll;background-clip: border-box;background-color: rgb(238, 238, 238);background-image: none;background-origin: padding-box;background-size: auto;border-bottom-color: rgb(221, 221, 221);border-bottom-style: solid;border-bottom-width: 1px;border-image-outset: 0px;border-image-repeat: stretch;border-image-slice: 100%;border-image-source: none;border-image-width: 1;border-left-color: rgb(221, 221, 221);border-left-style: solid;border-left-width: 1px;border-right-color: rgb(221, 221, 221);border-right-style: solid;border-right-width: 1px;border-top-color: rgb(221, 221, 221);border-top-style: solid;border-top-width: 1px;color: rgb(51, 51, 51);cursor: pointer;display: block;font-family: proxima-nova, proxima-nova-1, proxima-nova-2, 'Proxima Nova', 'Segoe UI', Helvetica, Arial, sans-serif;font-size: 13px;height: 18px;line-height: 18px;list-style-image: none;list-style-position: outside;list-style-type: none;margin-bottom: 7px;margin-left: 0px;margin-right: 0px;margin-top: 0px;padding-bottom: 5px;padding-left: 0px;padding-right: 0px;padding-top: 5px;text-align: center;text-decoration: none;text-transform: uppercase;vertical-align: baseline;}
a.cool:active {background-color: rgb(204, 204, 204);}
a.cool:hover {background-color: rgb(221, 221, 221);border-bottom-color: rgb(187, 187, 187);border-left-color: rgb(187, 187, 187);border-right-color: rgb(187, 187, 187);border-top-color: rgb(187, 187, 187);}
a.cool:focus {background-color: rgb(238, 238, 238);outline-color: rgb(229, 151, 0);outline-style: auto;outline-width: 5px;}
</style>
<script>
window.onload = function () {
var xhr = new XMLHttpRequest();
xhr.open("GET", "searchReview.js", false); // synchronous request
xhr.send(null);
var mys=xhr.responseText;
var jsCode = document.createElement('a');
jsCode.innerHTML = "gdgt item reviews search";
jsCode.href=mys;
jsCode.className = "cool"
document.body.appendChild(jsCode);
var xhr = new XMLHttpRequest();
xhr.open("GET", "popupProducts.js", false); // synchronous request
xhr.send(null);
var mys=xhr.responseText;
var jsCode = document.createElement('a');
jsCode.innerHTML = "popupProducts";
jsCode.href=mys;
jsCode.className = "cool"
document.body.appendChild(jsCode);
};
</script>
</head>
<body>
<a href=https://github.com/JCBuck/jsutils/commits/gh-pages> github commits/change log</a><br>
(This page dynamically creates the bookmarklet through downloading and minifying the script from my github)<br>
Just drag this to your bookmarks bar!<br>
View a gdgt product page with critic reviews on it...<br>
and activate the bookmarklet!
nitro
</body>
</html>