From 672e4be5695144f1db99c9381bbd6b2cd1bc7578 Mon Sep 17 00:00:00 2001 From: gubug Date: Mon, 27 Jun 2016 22:18:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=88=EB=82=B4=EB=A9=94=EC=8B=9C=EC=A7=80?= =?UTF-8?q?=20modal=20=EC=9D=B4=20=EB=85=B8=EC=B6=9C=EB=90=98=EB=A9=B4?= =?UTF-8?q?=EC=84=9C=20=EC=98=88=EC=95=BD=EC=9D=B4=20=EC=A7=84=ED=96=89?= =?UTF-8?q?=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 안내 메시지를 확인하는 function 을 override 하여 해결 kswchoo/korailmacro#5 --- content.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.js b/content.js index 9a27a09..fdbaf7b 100644 --- a/content.js +++ b/content.js @@ -8,7 +8,7 @@ function injectJs(srcFile) { function redirectPage(href) { if (href.indexOf("javascript:") == 0) { - href = "window.showModalDialog=window.showModalDialog || function(url, arg, opt) {window.open(url, arg, opt);};window.confirm=function (str) {return true;};" + href.substring(11, href.length); + href = "window.showModalDialog=window.showModalDialog || function(url, arg, opt) {window.open(url, arg, opt);};window.confirm=function (str) {return true;};infochk=function(a,b){infochk2(a,b);};" + href.substring(11, href.length); location.href = "javascript:" + href; } else { location.href = href;