è¦ã¦ãããã¼ã¸ã®ããåãããªãè¨èã§æ¤ç´¢ãããï¼ã¨ãããã¨ãããããï¼
ããåãããªãè¨èãèªåã§æã¡ãªããã®ã¯ç²ãããï¼ãã¦ã¹ã§é¸æããã®ãããã©ãããã®ã§ï¼èªåçã«æ½åºãããã¼ã¯ã¼ããæ示ãã¦ï¼ããããé¸ã¶ã ãã§æ¸ãï¼ã¨ããVimperatorãã©ã°ã¤ã³ãä½ã£ãï¼
ãªã«ããã¼ã¸ãè¦ã¦ãã¦ï¼:heuristicsearchããã¨ï¼ãã¼ã¸å
ã®ãã¼ã¯ã¼ããèªåçã«åºã¦ï¼ããããããããé¸ãã§ï¼æ¤ç´¢ã§ããï¼
åç»ãæ®ã£ã¦ä¸ã«ã¢ãããã¼ãããï¼
2010-02-14_1507 - hitode909's library
ä»çµã¿
ã¾ãï¼extract-content-javascriptã使ã£ã¦ï¼ãã¾è¦ã¦ãããã¼ã¸ã®æ¬æãæ½åºããï¼
次ã«ï¼æ½åºããæ¬æãYahooã®ãã¼ãã¬ã¼ãºæ½åºAPIã«æ¸¡ãã¦ï¼ãã¼ã¯ã¼ãã¨ï¼ãã®ã¹ã³ã¢ãåå¾ããï¼
ããã§åå¾ãããã¼ã¯ã¼ãã¨ã¹ã³ã¢ãæ¤ç´¢ãã¼ã¯ã¼ãã®åè£ã¨ãã¦åºãã¦ï¼ã¦ã¼ã¶ã¼ãããããé¸ãã§ããã ãã§æ¤ç´¢ã§ããï¼ã¨ããä»çµã¿ï¼ããããããªãè¨èã¯ããã¦ããã®è¨äºã®ãã¼ãã¬ã¼ãºçãªãã®ã®ã¯ããªã®ã§ï¼ããã¨ãã¾ãããï¼
å©ç¨
GitHubã«ç½®ããã®ã§ï¼Vimperatorããèªã¿è¾¼ãããã«ããï¼
ãã®ä»ã«ããã¤ãä¾åé¢ä¿ãããï¼
å©ç¨ããã«ã¯ï¼_libly.jsã¨ï¼ã¯ã¦ãªããã¯ãã¼ã¯Firefoxæ¡å¼µã¨ï¼Yahoo!ãããããã¼ãããã¯ã¼ã¯ã®ã¢ããªã±ã¼ã·ã§ã³IDãå¿
è¦ï¼
_libly.jsã¯ï¼Vimperatorãã©ã°ã¤ã³ç¨ã®ä¾¿å©ãªã©ã¤ãã©ãªï¼CodeReposã§é
å¸ããã¦ããï¼
ã¯ã¦ãã®Firefoxæ¡å¼µã¯ï¼ä¸ã«å«ã¾ãã¦ããextract-content-javascriptãåæã«å¼ã³åºãã¦ä½¿ãããã«å¿
è¦ï¼
ããããã¤ã³ã¹ãã¼ã«ã§ããï¼
Yahoo!ãããããã¼ãããã¯ã¼ã¯ã®ã¢ããªã±ã¼ã·ã§ã³IDã¯ï¼ãã¼ãã¬ã¼ãºæ½åºAPIã使ãããã«å¿
è¦ï¼
ããããåå¾ã§ããï¼
æåã«ã³ãã³ããå®è¡ããã¨ãã«ããã³ãããåºãã®ã§ï¼ããã«å
¥åããï¼ãã¹ã¯ã¼ãã¯nsLoginManagerã管çããï¼ä»¥åã¯.vimperatorrcã«æ¸ããªãã¨ãããªãã£ãã®ã ãã©ï¼id:hogelogãããç´ãã¦ãã ãã£ãï¼
ã¢ããªã±ã¼ã·ã§ã³IDã®è¨å®ã«å¤±æããã¨ãã¯ï¼:setyahooappidããã¨ï¼åã³ãã¤ã¢ãã°ãåºãã®ã§ï¼ãã¤ã§ãè¨å®ã§ããï¼
ããã§ï¼:heuristicsearchã§æ¤ç´¢ãã¾ãããããã«ãªãã®ã ãã©ï¼æ¯åä½æåãæã¤ã®ã¯ç²ããï¼
ã¹ãã¼ã¹ã¾ã§å
¥åããã¨è£å®ãåºãã®ã§ï¼mapããã¨ãã¯
map ` :heuristicsearch<Space>
ã³ãã³ããå®è¡ããåã«ãã¦ã¹ã§ãã¼ã¸å
ã®æåãé¸æãã¦ãããã¨ã§ï¼ãã¼ã¯ã¼ããæ½åºããç¯å²ãæå®ã§ããï¼
æ示ããããã¼ã¯ã¼ãã®åè£ãæ°ã«å
¥ããªãã¨ãã«æåã§æ¤ç´¢ããããã¼ã¯ã¼ããå«ã段è½ãæå®ãããï¼ç¹å®ã®ç¯å²ã ããéä¸çã«æ¤ç´¢ãããï¼åèªã®åºåãã§ã´ã£ããé¸æããã®ãé£ãããï¼ã ããããªãé¸æã§ããï¼ã¨ããå ´åãªã©ã«å½¹ç«ã¤ï¼
ããããªãã®ã«ã¿ãä¹ãããããã«ï¼ã¡ããã¨åãã¦ãããï¼ä¾¿å©ãªãã®ãã§ãã¦ï¼Web2.0ã£ã½ãï¼
åè
ãã®ä»
Google Chrome æ¡å¼µãããã¾ãï¼