Skip to content

Commit

Permalink
feat: add bookmarklet.html file
Browse files Browse the repository at this point in the history
  • Loading branch information
zyhou committed Feb 26, 2020
1 parent b9aa88c commit 96b26a0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bookmarklet.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<html>
<head>
<title>Gremlins.js Bookmarklet</title>
</head>
<body>
<div>Drag and drop the link below to your bookmarks toolbar</div>
<div>
<a
href='javascript:(function(){function callback(){gremlins.js().unleash()} var s=document.createElement("script");s.src="https://unpkg.com/gremlins.js@next";if(s.addEventListener){s.addEventListener("load",callback,false)}else if(s.readyState){s.onreadystatechange=callback}document.body.appendChild(s);})()'
title="gremlins.js"
>gremlins.js</a
>
</div>
</body>
</html>

0 comments on commit 96b26a0

Please sign in to comment.