Remove Greasemonkey version testing.
This commit is contained in:
parent
3a42369464
commit
56b78d8c67
@ -291,7 +291,6 @@ module.exports = (grunt) ->
|
||||
GM_deleteValue: true
|
||||
GM_listValues: true
|
||||
GM_openInTab: true
|
||||
GM_info: true
|
||||
GM_xmlhttpRequest: true
|
||||
cloneInto: true
|
||||
chrome: true
|
||||
|
||||
@ -189,14 +189,6 @@ Main =
|
||||
$.set 'previousversion', g.VERSION
|
||||
|
||||
if Conf['Show Support Message']
|
||||
<% if (type === 'userscript') { %>
|
||||
GMver = GM_info.version.split '.'
|
||||
for v, i in "<%= meta.min.greasemonkey %>".split '.'
|
||||
continue if v is GMver[i]
|
||||
(v < GMver[i]) or new Notice 'warning', "Your version of Greasemonkey is outdated (v#{GM_info.version} instead of v<%= meta.min.greasemonkey %> minimum) and <%= meta.name %> may not operate correctly.", 30
|
||||
break
|
||||
<% } %>
|
||||
|
||||
try
|
||||
localStorage.getItem '4chan-settings'
|
||||
catch err
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user