Adobeãµãã¼ããã¼ã¿ãã¼ã¹ã®æ§URLããæ°URLã«ã¸ã£ã³ãããGreasemonkey
æçµæ´æ°æ¥ï¼2008/03/13
æ§URLã«ã¢ã¯ã»ã¹ããã¨30ç§å¾ã«ã¯åçç¡ç¨ã§æ°æ¤ç´¢ç»é¢ã«è»¢éãããããã«ãªã£ã¦ãã¾ã£ãã
ãç¥ããï¼
ã¢ããã·ã¹ãã ãºã§ã¯ããµãã¼ãæ å ±æ¤ç´¢ãã¼ã¸ãæ°ãããã¼ã¸ã«ä¸æ°ãããã¾ããã以åãå©ç¨ããã ãã¦ãããµãã¼ãææ¸ã®URLã«ã¢ã¯ã»ã¹ããå ´åãä¸æ¦ãã¡ãã®ãã¼ã¸ã¸æ¡å ããã¾ããä¸è¨ã®ãªã³ã¯ããæ°ããæ¤ç´¢ç»é¢ã«ç§»åãããã®æ¤ç´¢ãã¼ã¸ããæ¤ç´¢æ©è½ããå©ç¨ãã ããã
ææ¸çªå·ã¯å¤ãããªãã®ã«å ¨é¨æ¤ç´¢ç»é¢ãããã¸ã
â¦â¦ãªããããããããããï¼ï¼
ææ¸çªå·ããããã° æ¤ç´¢ç»é¢ã«å ¥åâæ¤ç´¢ã§ã²ã£ããã ã£ã¦æé ã使ãããã©ããã®ãæä¸ããããªãã®ã§ãâ¦â¦
ã¨ããããã§
ãããããããã¦ããããæ¸ãããåçãªã©ããããããªãã
ã§ãè¦ããè¦ã¾ããªã®ã§ééã£ã¦ããããããªãããFirefox+Greasemonkeyå
¥ãã¦ã人ãã使ããªãã¦ããããªããã
追è¨ï¼æ·»åãã¦ãããã¾ãããæåã«èªåã§æ¸ããã®ãè¨é²ã¨ãã¦ããã«æ®ãã¦ããããã®ã§ãæ·»åå¾ã®ææ°çã«ã¤ãã¦ã¯ãã®è¨äºã®ä¸çªä¸ãåç §ãã¦ãã ããããâææ°çã¸
// ==UserScript== // @name Adobe FAQ Redirector // @namespace http://d.hatena.ne.jp/chalcedony_htn/ // @description Redirector for Adobe Support Database (Japanese) // @include http://www.adobe.com/jp/support/announcement/* // @include http://support.adobe.co.jp/faq/faq/* // ==/UserScript== (function() { var this_url = location.href; this_url.match(/\?(\d+)\+/); var doc_number = RegExp.$1; var new_url = "http://www.adobe.com/jp/support/kb/ts/" + doc_number.substr(0,3) + "/ts_" + doc_number + "_ja-jp.html" if(location.href != new_url) { location.href = new_url; } })();
WindowsçFirefox3.0.6ãGreasemonkey0.8.20090123.1ã§ç¢ºèªã
ä»ã¯http://support.adobe.co.jp/faq/faq/(ã»ã«ããã)ã«ã¢ã¯ã»ã¹ããã¨http://www.adobe.com/jp/support/announcement/(ã»ã«ããã)ã«ãªãã¤ã¬ã¯ãããããã©ãä¸å¿å¤ãã®ã対象ã«å
¥ãã¦ãããã
ããããã¨ãRedirectã£ã¦ä½¿ã£ã¦ãããã ã£ãï¼
ã¡ãªã¿ã«ãURLã®ä»æ§ã¯
ãã¨ãã°ãããªã®ãè¦ããã¨ãã¦
[227421]Illustrator 8.0 以前で作成した EPS ファイルを InDesign 文書に配置するとフォントが他の書体に置き換わる
æ§URLã¯ããã
http://support.adobe.co.jp/faq/faq/qadoc.sv?227421+002
http://www.adobe.com/jp/support/announcement/?227421+002ï¼ç¾å¨ã®ãªãã¤ã¬ã¯ãå
ï¼
æ°URLã¯ãããªãã
http://www.adobe.com/jp/support/kb/ts/227/ts_227421_ja-jp.html
æ°åã®ä¸ï¼æ¡ã§ãªã«ããåãã¦ããã¿ããâ¦â¦ã¦ããããåã®002ã£ã¦ãªãã ã£ããã ãã
ãã追è¨
ãï½ããç´å¾ã«ãããªæ
å ±ãçºè¦ã
新アドビサポート情報のドキュメントへのショートカット - DTP+印刷営業メモ
æ°URLã¸ã®è»¢éç¨URLãããã·ã³ãã«ãªã®ããã£ãã®ãã
ãã£ã¡ã«ããã°ããã£ãããªãã§ãããã¾ãé£ãã ãè·³ãããããã®ããªãã ããªã
ããã«è¿½è¨
Greasemonkeyç¹æã®ãªã«ãã使ã£ããã¯ãã¦ããªãã®ã§ãOperaã¨ãChromeã¨ãã§ãä¼¼ããããªãã¨åºæ¥ãããããªããã¨æã£ãã
ããã«ããã«è¿½è¨
ArcCosineå çãæ·»åãã¦ããã¾ãããããã¼ãï¼ï¼
ç¾å¨ã®urlã調ã¹ã¦åå²ãã¦ãé¨åã¯@exclude使ãã°æ¶ããããããããææ¸çªå·åãåºãããã ããªãä»ã®urlãå¤æ°ã«å ¥ãã¦ããå¿ è¦ããªãã£ãã§ããã
ãã®ç¨åº¦ã ã£ãããifæã¨ããããªãããå¤æ°ãæ¸ããããã£ã¦æãã§ã
ããã²ã¨ã¤ãlocation.hrefã«ä»£å ¥ããã¨å±¥æ´ãæ®ã£ã¦ãã¾ãã®ã§ãlocation.replace()ã§ç§»åããããã«å¤æ´ããã¦ã¾ãããªãã»ã©ã¼ã
CodeReposã«ããï½ãã¦ãããã¾ãããâé£ãã å
ã«ææ°çã¤ã³ã¹ãã¼ã«ç¨ã®ãªã³ã¯ãããã¾ãã
http://coderepos.org/share/browser/lang/javascript/userscripts/adobe_faq_redirector.user.js
å¤ä¸ã«ãã³ã·ã§ã³ä¸ããã¾ãããWeb楽ãããªã¼ã
ããã«ããã«ããã«è¿½è¨ï¼2009.03.09ï¼
ä¸å
·åããã£ãã®ã§ä¿®æ£ãã¾ããã
ver1.1ã ã¨ãhttp://www.adobe.com/jp/support/announcement/ ã®ããããªã©ææ¸çªå·ãå«ã¾ãã¦ãªãå ´åã§ãã¸ã£ã³ããããã¨ãã¦ãã¾ãã¾ãããªã®ã§ãFAQï¼TechNoteã£ã¦ååãªã®ããªâ¦â¦ï¼ã®ãã¿ã¼ã³ã«ãããããã¨ãã ãé£ã¶ããã«å¤æ´ã
// ==UserScript== // @name Adobe FAQ Redirector // @namespace http://d.hatena.ne.jp/chalcedony_htn/ // @description Redirector for Adobe Support Database (Japanese) // @include http://www.adobe.com/jp/support/announcement/* // @include http://support.adobe.co.jp/faq/faq/* // @exclude http://www.adobe.com/jp/kb/* // @version 1.2 // ==/UserScript== (function() { if(location.href.match(/\?(\d{6})\+/)) { var doc_number = RegExp.$1; location.replace("http://www.adobe.com/jp/support/kb/ts/" + doc_number.substr(0,3) + "/ts_" + doc_number + "_ja-jp.html"); } })();
ã¤ãã§ã«ãææ¸çªå·ã6æ¡ãã©ãããã¡ããã¨è¦ããã¨ã«ãã¾ããã
Firefox3ã§æå¾
éãåãã®ã確èªã
CodeReposã«ã¯ä»£çãï½ãã¦ããã£ãã®ã§ãã©ããããã¡ãã£ã¨æ©ããcommit権ã¨ãããããã£ã¦é å¼µãæ©ä¼ãªã®ãããããªããã©ããªã«ããè¦ããè¦ã¾ãããã¼ã¤ããªããããã ãããâ¦â¦ã
ããã«ããã«ããã«ããã«è¿½è¨ï¼2009.03.10ï¼
CodeReposã®ã»ãã§åã³æ·»åãã¦ãããã¾ããï¼ããããããã
æ¹ãã¦ææ°çã¸ã®ãªã³ã¯ãå¼µã£ã¦ããã¾ãã
http://coderepos.org/share/browser/lang/javascript/userscripts/adobe_faq_redirector.user.js
Coooooolï¼ï¼
ãµãã¼ããã¼ã¿ãã¼ã¹ã«ã¯å®ã¯2種é¡ï¼ããã£ã¦ãææ¸çªå·ã6æ¡ã®æè¡ææ¸ã¨4æ¡ã®ãµãã¼ãææ¸ã«åããã¦ã¾ãã
ãã®ããããã§å¯¾å¿ãã¦ãã®ã¯6æ¡ã®ã»ãã4æ¡ã®ã»ããåæã«å¯¾å¿ãããã¨ãããªãã ãã©ããªãã¤ã¬ã¯ããããå
ã®URLã«ææ¸çªå·ãå«ã¾ããªããªã©ã§ã¡ããã¨å°ã£ããã©ããã¹ããèãä¸ã§ãã
ããä»åº¦ä¿®æ£ããã¨ãã¯å¥ã¨ã³ããªã«ãã¾ãï½
ãã¨ãããããæ·»åãã¦ããã£ã¦æ°ãã«è¦ãããã¨ãããã®ã§ãããããã¨ã§æ¹ãã¦æ¸ããã¨æãã¾ãã
ã¢ã¦ãããããã¦ã¿ã¦ããã£ããªããã¨ãã¿ãã¿ã
ããã«Ãï¼è¿½è¨ï¼2009.03.13ï¼ï¼ææ°çã¯ããããï¼ï¼
å²ä¸æé«ãã¯ãæ°*1ãæ´æ°ããã®ã§ãå¥ã¨ã³ããªã«ããã®ãä½ã ãªã¨æãæ©ãã ãããã«ãã®ã¾ã¾è¿½è¨ãã¾ããææ¸çªå·6æ¡ã4æ¡ã3æ¡ã®URLã«å¯¾å¿ãã¾ããã
// ==UserScript== // @name Adobe FAQ Redirector // @namespace http://d.hatena.ne.jp/chalcedony_htn/ // @description Redirector for Adobe Support Database (Japanese) // @include http://support.adobe.co.jp/faq/faq/*?*+* // @include http://www.adobe.com/jp/support/announcement/?*+* // @exclude http://www.adobe.com/jp/kb/* // @version 1.3 // ==/UserScript== (function() { var m = location.search.match(/^\?(\d+)\+/); if (!m) return; var doc_number = m[1]; switch (doc_number.length) { case 6: location.replace("http://www.adobe.com/jp/support/kb/ts/" + doc_number.substr(0, 3) + "/ts_" + doc_number + "_ja-jp.html"); break; case 4: location.replace("http://www.adobe.com/jp/support/kb/cs/" + doc_number.substr(0, 1) + "/cs_" + doc_number + "_ja-jp.html"); break; case 3: location.replace("http://www.adobe.com/jp/support/kb/cs/" + "000" + "/cs_" + doc_number + "_ja-jp.html"); break; } })();
ãã¶ããããã§æå¾ã
http://support.adobe.co.jp/faq/faq/qadoc.sv?7318+001 â http://www.adobe.com/jp/support/kb/cs/7/cs_7318_ja-jp.html
http://support.adobe.co.jp/faq/faq/qadoc.sv?262+001 â http://www.adobe.com/jp/support/kb/cs/000/cs_262_ja-jp.html
ã¨ããæãã«ãªãã¿ããã§ããâ¦â¦ãªãã ãã®000ã¯ã
â
CodeReposã®ã»ãã«ãåæ ãã¦ãããã¾ããï¼ArcCosine師å ãããã¨ãï¼ããã¡ãããå©ç¨ãã ããã
http://coderepos.org/share/browser/lang/javascript/userscripts/adobe_faq_redirector.user.js
*1:6ã ãã©â¦â¦