Created
March 31, 2009 03:47
-
-
Save mileszs/88037 to your computer and use it in GitHub Desktop.
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
| <html> | |
| <head> | |
| <title>This title and shit</title> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| function someFunc() { | |
| var title = document.title; | |
| var loc = document.location.href; | |
| document.getElementById("tmp-bookmark-link").href = "http://tellmypolitician.com/search?u=" + loc + "&title=" + title; | |
| } | |
| window.onload = function() { someFunc(); } | |
| </script> | |
| <a id="tmp-bookmark-link" href="">The link!</a> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment