bookmarkletã®æåæ°å¶éãç¡ãã
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ã§ã¯ç¢ºèªæ¸ã¿ããã¡ããcharsetãæå®ãããã¨ã«ãã好ããªã¨ã³ã³ã¼ãã£ã³ã°ã§ããã¯ãã¼ã¯ã¬ãããè¨è¿°ã§ããããããããã¼ä¾¿å©ã§ããµã¼ãä¸ã®jsãã¡ã¤ã«ãç·¨éãã¦ãã®ããã¯ãã¼ã¯ã¬ãããå®è¡ãããã¨ã§ç°¡åã«ãããã°ãã§ããããæ©è½è¿½å ãªã©ãjsã«è¿½å ããã°ããã ãããã åé¡ã¨ãªãã®ããé常ã®ãã©ã¦ã¶ã®å ´åããµã¼ãã«ãªãã¡ã©ãéã£ã¦ãã¾ããã¨ãã©ã®ãã¼ã¸ã§ããã¯ãã¼ã¯ã¬ãããå®è¡ãããã解ã£ã¦ãã¾ãããããããã¯ãã¼ã¯ã¬ããå©ç¨è
ã§å«ãªäººã¯ããªã³ã¯å
ã®JSãèªåã®ãµã¼ãã«è½ã¨ããããªã©ãå¿
è¦ã«ãªãã
ã¾ããããªãã¨ã¯ããã¦ãæ°ã«ããªãã¨æãã®ã§ããã®æ¹æ³ã§bookmarkletãä½ãã®ãå
¨ç¶ã¢ãªã ããã