Last active
December 19, 2015 03:59
-
-
Save gmvi/5894281 to your computer and use it in GitHub Desktop.
Kicktraq Links: UserScript for adding a Kicktraq link to Kickstarter project pages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Kicktraq links on Kickstarter project pages | |
// @version 1.2.1 | |
// @icon http://www.kicktraq.com/favicon.ico | |
// @match http://www.kickstarter.com/projects/*/* | |
// @match http://www.kickstarter.com/projects/*/*/ | |
// @match http://www.kickstarter.com/projects/*/*/* | |
// ==/UserScript== | |
h = ['http://www.kicktraq.com'].concat(window.location.href.split('/').slice(3,6)).join('/'); | |
a = document.createElement('a'); | |
a.href = h; | |
a.style.backgroundImage = "url(\"http://kicktraq.com/images/sprite-global3.png\")"; | |
a.style.height = "99px"; | |
a.style.width = "278px"; | |
a.style.position = "absolute"; | |
a.style.top = "80px"; | |
a.style.right = "0px"; | |
document.body.appendChild(a); |
Hi! I remember using this script in the past, it was great! But it doesn't seem to work any more. Or is there something wrong with my browser?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Kicktraq badge is too obtrusive.