diff options
Diffstat (limited to 'secret.html')
| -rw-r--r-- | secret.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/secret.html b/secret.html index 80b16a5..6e12aac 100644 --- a/secret.html +++ b/secret.html @@ -8,6 +8,10 @@ color:#444; font: normal normal normal 1em/1.5 'Helvetica Neue', Arial, Helvetica, sans-serif; } + + h2 { + font-family: 'lucida grande'; + } </style> </head> <body> @@ -19,6 +23,9 @@ <p>This is the bookmarklet: <a id="bookmarklet" href="#">ffffallback</a>—drag it to your bookmarks bar and brace yourself for an onslaught of unicorns and rainbows.</p> <script> var myURL = window.location.toString(); + if(myURL.indexOf('#') >= 0) { + myURL = myURL.split('#')[0]; + } var baseURL; if(myURL.match(/\.html$/)) { var urlChunks = myURL.split('/'); @@ -43,7 +50,7 @@ })();".replace(/\n/g, ' '); document.getElementById('bookmarklet').setAttribute('href', bookmarkletSource); - </script> + </script> <script type="text/javascript"> var _gaq = _gaq || []; |
