Created
August 23, 2023 11:05
-
-
Save yzqzss/ff7dc6198c4e45e15662ee27e979e430 to your computer and use it in GitHub Desktop.
a bookmarklet to search original url on IA
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> | |
| <body> | |
| <a href="javascript:(function()%7Bjavascript%3A(function()%20%7B%0A%20%20var%20url%20%3D%20prompt(%22Enter%20the%20original%20URL%3A%22)%3B%0A%20%20if%20(url)%20%7B%0A%20%20%20%20window.open(%22https%3A%2F%2Farchive.org%2Fsearch%3Fquery%3Doriginalurl%3A%5C%22%22%20%2B%20encodeURIComponent(url)%20%2B%20%22%5C%22%22)%3B%0A%20%20%7D%0A%7D)()%3B%7D)()%3B">search original url</a> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment