Last active
February 26, 2026 09:22
-
-
Save suuhm/71e8509c109b8f763a6fcb8cbe76e545 to your computer and use it in GitHub Desktop.
archive.ph / archive.today Bookmarklet automatic redirect
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
| // Archive.ph Redirect Bookmarklet - Archive current page | |
| // (c) 2026 suuhm | |
| // | |
| // TEST: 1. Copy code → New Bookmark → Name: "Archive.ph" | |
| // 2. Go to any website → Click bookmark → Confirm dialog appears | |
| // 3. Click OK → Redirects to archive.ph with full URL preserved | |
| // | |
| // OR: In Browser press F12 -> DEV JS Console | |
| javascript:void function(){ | |
| var full = window.location.href; | |
| var newUrl = "https://archive.ph/" + full; | |
| if(confirm("🖥️ Archive.ph Redirect\n\n🔗 Original: " + window.location.href + "\n➡️ Target: " + newUrl + "\n\n🔥 Continue?")){ | |
| window.location.href = newUrl; | |
| } | |
| }(); |
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
| javascript:void%20function(){var%20full=window.location.href;var%20newUrl=%22https://archive.ph/%22+full;if(confirm(%22🖥️%20Archive.ph%20Redirect%5Cn%5Cn🔗%20Original:%20%22+window.location.href+%22%5Cn➡️%20%20Target:%20%22+newUrl+%22%5Cn%5Cn%F0%9F%94%80%20Continue?%22))window.location.href=newUrl}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment