Last active
July 16, 2019 03:12
-
-
Save nyanshiba/767b2533bdd956fda72b8a2129b7e834 to your computer and use it in GitHub Desktop.
Twitterの新UIに対応した高解像度画像取得ブックマークレット
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 () { | |
var url = document.getElementsByClassName('css-9pa8cd')[2].src; | |
window.open(url.replace(/format.+/, "format=jpg&name=orig")); | |
} | |
)(); |
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 () { | |
var url = document.getElementsByClassName('css-9pa8cd')[2].src; | |
window.open(url.replace(/format.+/, "format=png&name=large")); | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment