Pocket is part of the Mozilla family of products.
Bookmarklets are small JavaScript-powered applications in link form. Often âone-clickâ tools and functions, theyâre typically used to extend the functionality of the browser and to interact with Web services. They can do things like post to your WordPress or Tumblr blog, submit any selected text to Google Search, or modify a current pageâs CSS⦠and many other things! Because they run on JavaScript
2010å¹´09æ08æ¥01:00 ã«ãã´ãªLightweight Languages bookmarklet - The Tiniest JS REPL ever! ãµã¨æãã¤ããã®ã§ã javascript:(function(s){while(s!==null)try{s=eval(prompt(s))}catch(e){s=e}})('JS:') javascript:(function(s){while(s!==null)try{s=eval(prompt(s))}catch(e){s=e}})('javascript')less than a minute ago via HootSuiteDan Kogai dankogai ãã£ã¨ã¶ã£ããã¼ãã§ãããã®ã§ããã°ãæå¾ã®('JS:')ã()ã«ãã¦ãã¾ãã°javascript:è¾¼ã¿ã§78byteã«åã¾ãã¾ãã Javascript
ããã¯ãã¼ã¯ã¬ããã¨ããã®ã¯ãã¢ããªã³ç¡ãã§ã使ãããã©ã¦ã¶ã®ä¾¿å©ãªæ©è½ã®ä»£è¡¨ã§ããããã¼ã¯ã¼ããæ£ããè¦ãã¦ããªããã°ä½¿ããã®ã«ãªãã¾ããããQuixãã¯ãæ°å¤ããããã¯ãã¼ã¯ã¬ããã®ã·ã§ã¼ãã«ããããã¹ã¦ç¶²ç¾ ãã¦ããªãããèªåã§ãã·ã§ã¼ãã«ããã追å ã§ããã¨ããåªããã®ã§ããããããã¹ã¦ã®ãã©ã¦ã¶ã§ä½¿ç¨ã§ãã¾ãã Google Mapã§ä½æããã³ãã¤ã³ãã«ç¤ºããå°å³ã欲ããã¨ããTwitterã®ãã¤ãã®ã¤ã¶ãããæ¢ãã¦ã¡ã¢ãã¦ããããã¨ãããªã³ã¯URLãã¡ã¼ã«ãããã¨ãããããããªã¯ã¨ã¹ãã«Quixã¯å¿ãã¦ããã¾ããQuixã¯ãã¯ã¤ãã¯æ¤ç´¢æ©è½ãªã©ãããã¯ãã¼ã¯ã¬ããã®ç´80%ã¯ã«ãã¼ãã¦ãã¾ãã ä¸åº¦Quixããã©ã¦ã¶ã«ã¤ã³ã¹ãã¼ã«ããã°ããããã§ãããããã¨ã®ãã¹ã¦ããã·ã§ã¼ãã«ããããimdb avatar,ããdict quixotic,ããbitly,ããªã©ã®ããã¯ãã¼ã¯ã¬ã
ä»åã¯ãããã¯ãã¼ã¯ã¬ãããªããã®ã§ã ããã¯ãã¼ã¯ã¬ããã£ã¦ã®ã¯ç°¡åã«è¨ãã° ãæ°ã«å ¥ãã«è¿½å ãã¨ãã¦å®è¡ããã°ãªãããã£ã¦ããã ã¿ãããªããã§ã ãã®ããã¯ãã¼ã¯ã¬ããã«ã¤ãã¦è©±ãã¡ããã¨èããã®ã§ ä½ã£ã¦ã¿ããã¨ãããã¨ã§ä½ãã¾ãã 第ä¸å¼¾ã¯ htmlã®é¸æç¯å²ã®ã½ã¼ã¹ãåå¾ ã§ã ãã¼ã¸ãã¿ã¦ãæã«ããã®é¨åã®ã½ã¼ã¹ã欲ããã£ã¦ã®ã 極ç¨ã«ããããããã¾ãããèªåã¯ããã¾ãï¼ ä½¿ãæ¹ã¯ç°¡å ã¾ãã¯ããæ°ã«å ¥ãã«ç»é²ãã¦ãã ãã¼ã¸ã®ã½ã¼ã¹ã®æ¬²ããé¨åã ãé¸æ(ãã¦ã¹ã§ã³ãã¼ãã£ã¦å¥´)ã㦠ãæ°ã«å ¥ãããå®è¡ ããã§ã¯ãªãããã¼ãã«é¸æç¯å²ã®ã½ã¼ã¹ãåå¾ã§ãã¾ã ããã§ã¯å®éã®ç©ãã° htmlé¸æç¯å²ã½ã¼ã¹åå¾ htmlé¸æç¯å²ã½ã¼ã¹åå¾(ã¢ã©ã¼ããã) å³ã¯ãªãã¯âãæ°ã«å ¥ãã«è¿½å ãã§ç»é²ãã¦ãã ãã ä»åã®ã¯å¥ã®ä½ãããç©ã®ä¸æºåã«ãªããã§ããã© ä¸å¿ãããä½ãã«ä½¿ãããããã
ã¯ã¦ãªã¹ã¿ã¼ã Tumblr ã®ããã¯ãã¼ã¯ã¬ãããªã©ï¼ãã©ã¦ã¶ä¸ã®é¸ææååããã®ã¾ã¾ã¦ã¼ã¶ã®å ¥åã¨ãã¦ä½¿ãããµã¤ããå¢ãã¦ãã¾ããJavaScript ããã©ã®ããã«ããã°åå¾ã§ããã®ãã調ã¹ã¦ã¿ã¾ããã ãã©ã¦ã¶éã®å·®ç° DOM ã«ãããé¸æç¯å²ã®ä»æ§ã¨ãã¦ä»¥ä¸ã® 2 éããããã¾ãã W3C Range Microsoft TextRange IE ã Microsoft TextRange ã®ã¿ãµãã¼ããã¦ããã®ã¯ã¾ãäºæ³éãã注æããªãã¦ã¯ãããªãã®ã¯ï¼W3C Range ã¯ï¼ããã¾ã§ DOM ä¸ã®ãç¯å²ãã示ãããã®ã¤ã³ã¿ãã§ã¼ã¹ã§ãããã¨ã§ãããã©ã¦ã¶ä¸ã§ã¦ã¼ã¶ãã©ããé¸æãã¦ããã®ãï¼ãªã©ã¯ UI ã®å®è£ ã«ãªãã¾ãããï¼W3C (Range) ã§ã¯è¦å®ããã¦ãã¾ãã*1ããã㧠W3C Range ããµãã¼ããã¦ãããã©ã¦ã¶ã¯ï¼é¸æç¯å²ããããã W3C Range ãªã
bookmarkletãä½ãã¨ããIEã§ã¯500æåã¡ãããFirefoxã§ã¯2000æåããã(?)ã®æåæ°å¶éããããã¾ããä½ã£ãå¾ã«ä¸è¡ã«ã¾ã¨ãããããããã°ãããã大å¤é¢åãã§ããããã¨ã¦ãç°¡åãªæ¹æ³ã§ã©ãã«ã§ããªããã¨ãã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ï¼ã®äººã«æãã£ãã javascript:(function(){var s=document.createElement("script");s.charset="UTF-8";s.src="http://example.com/example.js";document.body.appendChild(s)})(); createElementã§scriptè¦ç´ ãä½ã£ã¦ããã®ä¸ã«http://example.com/example.jsã¨ã½ã¼ã¹ãæå®ãããã¨ã«ãã£ã¦ãã®JSãå®è¡ã§ãããWinIEã¨Firefoxã§ã¯ç¢ºèªæ¸ã¿ã
bricklife.weblog."Safariãã§ãã使ãã MT Bookmarklet" ã«ã¯ããã©ã¦ã¶ã®éããå¸åããããã¹ãé¸æåã®ããã¯ãã¼ã¯ã¬ãããç´¹ä»ããã¦ãããããããæ®å¿µãªããä»æ§ã«ããIE6ã§ã¯åä½ããªãã ãã©ã¦ã¶å ã®ããã¹ããé¸æãã¦ããã¯ãã¼ã¯ã¬ãããèµ·åããã¨ãJavascript ã®å½ä»¤ãã²ã¨ã¤ãã¤è©¦ãã¦ãå 容ã空ã§ãªãã£ãããããé¸æããã¹ãã¨ãã¦æ¡ç¨ãããã®å¾ã®å¦çã«ã¾ããã¨ãããã®ãããã©ã¦ã¶ã«ãã£ã¦é¸æããã¹ããåå¾ããé¢æ°ãéããã¨ããåé¡ã解決ãããã¨ãã試ã¿ã§ããã document.selection() ã¯IE4 ã§å®è£ ãããé¢æ° document.getSelection() 㯠NN4 ã§å®è£ ãããé¢æ°(Mozilla ã§ãå¯) window.getSelection() 㯠Safari ã§æå¹ãªé¢æ° å ãã¿ã¯JAVASCRIPT::
Safariãã§ãã使ãã MT Bookmarklet Movable Type ã®ã·ã¹ãã ãçæãã Bookmarklet ã Safari ã§ãåãããã«ããæ¹æ³ãç´¹ä»ãã¾ãã Apple 製ã®ãã©ã¦ã¶ Safari 㧠Movable Type ã使ã£ã¦ãã Mac ã¦ã¼ã¶ã¯ä½é¨ãã¦ããã¨æãã¾ãããAuthor ç¨ã«ç¨æããã¦ãã JavaScript ãããã¤ãåãã¾ãããç¹ã«ãBookmarklet ãåããªãã®ãã¤ã¿ã¤ã¨ããã§ãã ãããã幸ãã«ãããã¤ãã®ãµã¤ãã§å¯¾å¿æ¹æ³ãå ¬éããã¦ãã¾ããä¾ãã°ãJAVASCRIPT::BOOKMARKLET ã§ã¯ Safari éå®ã® Bokmarklet ãå ¬éããã¦ãã¦ãåãããã使ã£ã¦ãã¾ãã ãããããã£ã±ããèªåã§æ¸ããªãã§ã·ã¹ãã ã«èªåçæãããããã¨æãã®ãç·ã®æ§ã§ãï¼ãï¼ï¼ ããã¦ãã©ãããªãã©ããªãã©ã¦ã¶ã§ãåãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}