rm GM_
This commit is contained in:
parent
aa723fe827
commit
d28c0f94e6
@ -118,11 +118,6 @@
|
||||
return _config[parent] = obj;
|
||||
}
|
||||
})(null, config);
|
||||
if (typeof GM_deleteValue === 'undefined') {
|
||||
window.GM_openInTab = function(url) {
|
||||
return window.open(url, "_blank");
|
||||
};
|
||||
}
|
||||
ui = {
|
||||
dialog: function(id, position, html) {
|
||||
var el, left, top, _ref, _ref2, _ref3;
|
||||
@ -712,7 +707,7 @@
|
||||
id = thread.firstChild.id;
|
||||
url = "http://boards.4chan.org/" + g.BOARD + "/res/" + id;
|
||||
if (tab) {
|
||||
return GM_openInTab(url);
|
||||
return window.open(url, "_blank");
|
||||
} else {
|
||||
return location.href = url;
|
||||
}
|
||||
|
||||
@ -56,11 +56,6 @@ _config = {}
|
||||
_config[parent] = obj
|
||||
) null, config
|
||||
|
||||
#x-browser
|
||||
if typeof GM_deleteValue is 'undefined'
|
||||
window.GM_openInTab = (url) ->
|
||||
window.open url, "_blank"
|
||||
|
||||
ui =
|
||||
dialog: (id, position, html) ->
|
||||
el = document.createElement 'div'
|
||||
@ -518,7 +513,7 @@ keybinds =
|
||||
id = thread.firstChild.id
|
||||
url = "http://boards.4chan.org/#{g.BOARD}/res/#{id}"
|
||||
if tab
|
||||
GM_openInTab url
|
||||
window.open url, "_blank"
|
||||
else
|
||||
location.href = url
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user