AA(ã¢ã¹ãã¼ã¢ã¼ã)ãèªã¿ããããã Chrome æ¡å¼µãã¤ããã¾ãã
AAReadable ã¨ãã Chrome æ¡å¼µãä½ãã¾ãã
æ¥ã«ãªãã¹ãã©ãã§ãè¯ããã®ãä½ããããªã£ã¦Chromeæ¡å¼µãä½ãã¾ããã
ååã®éãã®æ¡å¼µã§ãã©ã¦ã¶ã§éãã¦ãããã¼ã¸ãããã¯ãé¸æãã¦ããé¨åã®ãã©ã³ããå¤æ´ãã¦ã¢ã¹ãã¼ã¢ã¼ããè¦ãããããæ¡å¼µã§ãã
ãã©ã³ããå¥éã¤ã³ã¹ãã¼ã«ããå¿ è¦ãç¡ãã¨ããã¨ãé²è¦§ä¸ã®ãã¼ã¸ã«é©åãªCSSãç¡ãã¦ãåãã¨ããªããããã¤ã³ãã§ãã
ãã©ã³ãã«ã¤ãã¦ã¯ textar webfont(http://font.textar.tv/) ããããIPA Font License Agreement v1.0(http://ossipedia.ipa.go.jp/ipafont/index.html#LicenseJP)ã§fontãé å¸ãã¦ããã£ãããã®ã§ãããå©ç¨ããã¦ããã ãã¦ãã¾ãã
使ãæ¹
https://chrome.google.com/extensions/detail/omooelimgkbkdfnnciofhjoopichcbok?hl=ja
ããã¤ã³ã¹ãã¼ã«ã
AAãé¸æãã¦ãå³ã¯ãªãã¯ãã㨠AAReadable ã®ã¡ãã¥ã¼ãããã®ã§"é¸æç¯å²ãå¤æ´"ããã¨ãé¸æç¯å²å ã®ãã©ã³ããå¤æ´ããã¾ãã
"ç»é¢å ¨ä½ãå¤æ´" ãé¸æããã¨ãé¸æç¯å²ã«é¢ä¿ãªãç»é¢å ¨ä½ã®ãã©ã³ããå¤æ´ãã¾ãã
æè¡çãã¤ã³ããªã©
webfonté¢ç½ããã©æ¥æ¬èªãã©ã³ãé å¸ããã®ã¯éãã chrome æ¡å¼µã«çªã£è¾¼ãã ã google ããã¹ãã£ã³ã°ãã¦ãããªãã«ãã¼ã¨æã£ã¦ä½ã£ã¦ã¿ã¾ããã
ç¡äºãã¹ãã£ã³ã°ãã¦ããããããã§ããã2ã¤ãã¤ã³ãããã£ã¦ã
ãã¹ã¦ã® 'ttf' ã webfont ã«ä½¿ããããã§ã¯ãªã
AAç¨ã®ãã©ã³ãã¨ããã¨ãã¢ãã¼ãã©ã³ã(TK)ã¨ããIPAã¢ãã¼ãã©ã³ããªã©ãæåãªã®ã§ããããããã«å«ã¾ãã¦ããttf ã¯ã©ã¡ãã chrome ã§ã¯å©ç¨åºæ¥ã¾ããã§ãããåã®ãããCSSãééã£ã¦ããå¯è½æ§ãããã¾ãããããªãCSSã§ããç¾å²ãã©ã³ãã®ææ°ã¢ã¦ãã©ã¤ã³çã«å«ã¾ãã MisakiGothic_Outline.ttf ã¯ä½¿ããã®ã«ãå¤ã misaki.ttf ã¯ä½¿ããªãã£ããã¨ã«ã¼ã«ãå ¨ç¶ãããã¾ããã
ttf ã«ãè²ã 種é¡ããããã ãããªã¨æãã¤ã¤ããã¾ã§è¿½ãããã¦ãã¾ããã
chrome æ¡å¼µã§ãã¼ã¸ã®ã³ã³ãã³ãã«ã¢ã¯ã»ã¹ãã
chromeæ¡å¼µã¯BookmarkletãGreasemonkeyã«æ¯ã¹ãã¨æ ¼æ®µã«ã»ãã¥ãªãã£ãæèããã¦ãã¦ãã¡ã¤ã³ã¨ãªã background_page ãã ç¾å¨éãã¦ããwebãã¼ã¸ã®DOMã«ç´æ¥ã¢ã¯ã»ã¹ãããã¨ãåºæ¥ã¾ããã
ãããã
chrome.tabs.executeScript(null, {file:'file_name_of.js'}, function(){ chrome.tabs.executeScript(null, {code:'functionInJs()'}); });
ã¨ããæãã®ã¡ã½ããã§ãJS ã®ãã¡ã¤ã«ãã¢ã¯ãã£ããªã¿ãã«èªã¿è¾¼ã¾ãããã¨ã¯ã§ããã®ã§ããã¤ãããªã便å©ã§ãã第3å¼æ°ã®ã³ã¼ã«ããã¯é¢æ°ããªãã®ããã«ããã®ãæååãããªãã£ãã®ã§ããããããããªã便å©ã§ãJSãã¡ã¤ã«ã®èªã¿è¾¼ã¿ãçµãã£ããã¨ã§å¼ã°ããã®ã§JSãã¡ã¤ã«ã®ä¸ã§å®ç¾©ãã¦ããé¢æ°ãªã©ãå¼ã³åºãã¾ããéã«ããæ¸ããªãã§ãchrome.tabs.executeScript ãé£ç¶çã«å¼ã³åºãã¨ãããã¯ãéåæã«å®è¡ããã¦ãã¾ãã®ã§ãã¾ãã«èªã¿è¾¼ãã ãã¡ã¤ã«ã«ããé¢æ°ãå©ç¨ãã¦ã¨ãããããªäºãã§ãã¾ããã
ã¨ããç¹ã§ã¯ã¾ã£ããããããã§ãããchromeæ¡å¼µã¯å²ã¨ç°¡åã«ã¤ãããä¸ã«è²ã 使ãã§ã¯ãããããªã®ã§ãã¿ãªãããä½ãä½ã£ã¦ã¿ã¦ã¯ãããã§ããããã