-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest.html
More file actions
23 lines (23 loc) · 756 Bytes
/
test.html
File metadata and controls
23 lines (23 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>
<head>My Bookmarklets</head>
<body>
<a href="javascript: (function () {
if(document.getElementById('akbar')){
var element = document.getElementById('akbar');
element.parentNode.removeChild(element);
element = document.getElementById('akbar-filter');
element.parentNode.removeChild(element);
} else {
var jsCode = document.createElement('script');
var random = Math.round(Math.random()*3000);
jsCode.setAttribute('src', 'http://hao.mine.nu/bkmk/akbar.js?'+random);
document.body.appendChild(jsCode);
}
}());">Akbar</a>
<p>This is a test</p>
<p>This is a test</p>
<p>This is a test</p>
<p>This is a test</p>
</body>
</html>