Remove Greasemonkey version testing.

This commit is contained in:
ccd0 2015-06-19 01:15:14 -07:00
parent 3a42369464
commit 56b78d8c67
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -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