diff --git a/src/General/lib/$.coffee b/src/General/lib/$.coffee index e690c705b..7991388f2 100755 --- a/src/General/lib/$.coffee +++ b/src/General/lib/$.coffee @@ -221,7 +221,11 @@ $.event = (event, detail, root=d) -> $.open = <% if (type === 'userscript') { %> - GM_openInTab + 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 <% } else { %> (URL) -> window.open URL, '_blank' <% } %>