Last active
December 4, 2019 15:47
-
-
Save fransallen/3d7c561824c35c38db5249c8d25c1af9 to your computer and use it in GitHub Desktop.
Capture web pages with bookmarklets!
This file contains 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
SS_ENDPOINT = "https://cdn.statically.io/s/"; | |
DOMAIN = window.location.hostname; | |
PATH = window.location.pathname; | |
window.open(SS_ENDPOINT + DOMAIN + PATH); |
This file contains 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:(function()%7BSS_ENDPOINT%20%3D%20%22https%3A%2F%2Fcdn.statically.io%2Fs%2F%22%3BDOMAIN%20%3D%20window.location.hostname%3BPATH%20%3D%20window.location.pathname%3Bwindow.open(SS_ENDPOINT%20%2B%20DOMAIN%20%2B%20PATH)%7D)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment