Twitterä¸ã®ç»åãã¯ã³ã¯ãªãã¯ã§ç°¡åã«ä¿åããããã¯ãã¼ã¯ã¬ããã
ããããã«
Twitter上の画像を簡単に保存するブックマークレット。(単体画像用 ããããéè¦ãããã¿ãããªã®ã§ãå°ã便å©ã«ãããã®ãå ¬éãã¾ãã
使ãã©ãã
ユーザーのイメージ一覧ページ ã§
ãã®ç»åä¿åã§ããããããã£ã¦ãªã£ãã¨ãã«ä½¿ãã¨ãèªåçã«ç»åããã¦ã³ãã¼ããã¦ããã¾ãã
â» ä¸æçã«æ°ããã¦ã¤ã³ãã¦ã表示ããã¾ããã5ç§ï¼ããã©ã«ãï¼å¾ã«èªåçã«éãããã¾ãã
Google Chrome ã® ãããã¯ãã¼ã¯ãã¼ãã«ä¿åãã¦ããã¨ä¾¿å©ã§ãã
ã³ã¼ã
javascript:(function(){ var d = document; var s = d.createElement('script'); s.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'; d.body.appendChild(s); setTimeout(function(){ var imgURI = $('img.media-image').attr('src').replace(':large',''); var win = window.open('http://iideacraft.com/q/tw/?img='+imgURI, 'TwImgGet', 'width=200, height=100'); setTimeout(function(){ win.close(); }, 5000); }, 500);})();
ã
ã³ã¼ãï¼æ´å½¢ï¼
ä¸ãã3è¡ç®ã®æ°å¤ã5000ããå¤æ´ãã¦ã¦ã¤ã³ãã¦ãèªåçã«éããæéãå¤æ´åºæ¥ã¾ãã
â» 1000 -> 1ç§ã§ãã
ã ãã¶å¤ãã«è¦ç©ãã£ã¦ãã®ã§éä¿¡é度ãéã人ã¯ãã£ã¨å°ãªãã¦ã大ä¸å¤«ããã§ãã
â» ãã¦ã³ãã¼ãå®äºåã«ã¦ã¤ã³ãã¦ãéããã¨æ£å¸¸ã«ä¿åãããªãå¯è½æ§ãããã¾ããã
- å ã³ã¼ã
javascript:(function(){ var d = document; var s = d.createElement('script'); s.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js'; d.body.appendChild(s); setTimeout(function(){ var imgURI = $('img.media-image').attr('src').replace(':large',''); var win = window.open('http://iideacraft.com/q/tw/?img='+imgURI, 'TwImgGet', 'width=200, height=100'); setTimeout(function(){ win.close(); }, 5000); }, 500); })();
ã
- ã¦ã¤ã³ãã¦ãèªåçã«éããªãã¦ãè¯ãå ´åã¯â¦ä»¥ä¸ã®ç®æãåé¤ãã¦ä¸ããã
setTimeout(function(){ win.close(); }, 5000);
ã
- æ°è¦ã¦ã¤ã³ãã¦ã®ãµã¤ãºå¤æ´ãããå ´å
ã'width=200, height=100'ãã®ç®æãä»»æã®å¤ã«å¤æ´ãã
var win = window.open('http://iideacraft.com/q/tw/?img='+imgURI, 'TwImgGet', 'width=200, height=100');
ä¾ï¼ window.open - Web API リファレンス | MDN
ã
ãããã«
åä½ç¢ºèªã¯ Google Chrome ãããã¦ãªãã§ãã
â» Twitterå´ã®æ´æ°ã«ãã£ã¦çªç¶ä½¿ããªããªãå ´åãããã¾ãã
ã