2012-01-18追è¨
Amazonãå¹´æãããä»æ§å¤æ´ã«ãªã£ã¦ã¾ãåä½ä¸è¯ã«ãªãã¾ããã
以ä¸ã®æ å ±ã¯å¤ãã§ãã
ç¾å¨ã¯ããå®å ¨ã«FireFoxã¨ãã¦èªèãããããã§åãããã§ãã
Amazonã§ã¯ã¾ã¨ãã«JavaScriptãæ±ããªã人ãä»äºãã¦ããããã§ãã
Operaã¯FireFoxã§åããã£ã¦ãããUserAgentåä½ã§é ä¿¡JSå¤ãã¦ãããªããã¯ããããOperaç¨ã«ãããéãã°è¯ãã®ã«ã
以ä¸ã¯æã®è³æã
ã¢ãã¾ã³ã§ã·ã§ããã³ã°ã«ã¼ããOperaã§åããªãï¼
ãåé¤ããä»ã¯è²·ããªãããã«ã¼ãã«æ»ãããåããªãï¼
åé¤ã¯å°ããªããï¼ä»ã¯è²·ããªããå°ãï¼Amazonã®JPã®äººã®æçºã ã¨æããã§ããã©ã»ã»ã»ã»ä½ã¨ããªãããã«ãªãã®ã§ï¼å¯¾çããï¼
åå ãã調ã¹ãçµæ
Amazonã®åé¡ã§Operaã誤ä½åãã¦ããã£ã½ãjQueryã®ãã¼ãã«å¤±æãã¦ããã®ã§ãã
ãªã®ã§User JavaScriptã§jQueryããã¼ãããã°ãã
Amaoznã®ã«ã¼ããã¿ã³ä¿®æ£ç¨.js
// ==UserScript== // @include http://www.amazon.co.jp/gp/cart/* // ==/UserScript== document.addEventListener('DOMContentLoaded', function() { //å®è¡ãããå¦ç src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"; sc = document.createElement("script") sc.type = "text/javascript" sc.src = src document.body.appendChild(sc); },false);
jQueryã®ãã¼ããä½ã§å¤±æãããã¯åããªãï¼ã§ãjQueryãªãã¸ã§ã¯ããè¦ã¤ãããªãã¨ã©ã¼ãåºã¦ããã®ã§ã³ã¬ã§è§£æ±ºã§ããï¼
ããã§ææ¥ããã¾ããã¤ãã¤è²·ãç©ã§ãã¾ãï¼