From 83aa975211682f7096cde60562089503a27877dd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 16 Mar 2015 12:37:30 -0700 Subject: [PATCH] Revert "Work around GM3.0 GM_openInTab bug." It seems to be fixed in GM3.1 but we don't have a way to distinguish. This reverts commit d46d02f2497240163699782cb55c6480a87d93b8. --- src/General/lib/$.coffee | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/General/lib/$.coffee b/src/General/lib/$.coffee index 7991388f2..e690c705b 100755 --- a/src/General/lib/$.coffee +++ b/src/General/lib/$.coffee @@ -221,11 +221,7 @@ $.event = (event, detail, root=d) -> $.open = <% if (type === 'userscript') { %> - if GM_info.version is 'unknown' # GM_info.version is broken in GM3.0 - # XXX https://github.com/greasemonkey/greasemonkey/issues/2094 - (URL) -> $.globalEval "window.open(#{JSON.stringify URL}, '_blank');" - else - GM_openInTab + GM_openInTab <% } else { %> (URL) -> window.open URL, '_blank' <% } %>