Merge branch 'Stable' into Beta
Conflicts: LICENSE builds/4chan-X-beta.crx builds/4chan-X-beta.meta.js builds/4chan-X-beta.user.js builds/4chan-X-noupdate.crx builds/4chan-X-noupdate.user.js builds/4chan-X.crx builds/4chan-X.meta.js builds/4chan-X.user.js builds/4chan-X.zip builds/updates-beta.xml builds/updates.xml package.json
This commit is contained in:
commit
0af7fb727b
@ -10,6 +10,12 @@ The links to individual versions below are to copies of the script with the upda
|
|||||||
- Add option `Force Noscript Captcha` to use the non-Javascript version of Recaptcha and an interface similar to the old Recaptcha. Also use this version of the captcha if Javascript is disabled on the page (4chan X can be used this way in Greasemonkey 2.x).
|
- Add option `Force Noscript Captcha` to use the non-Javascript version of Recaptcha and an interface similar to the old Recaptcha. Also use this version of the captcha if Javascript is disabled on the page (4chan X can be used this way in Greasemonkey 2.x).
|
||||||
|
|
||||||
<!-- v1.9.15.x -->
|
<!-- v1.9.15.x -->
|
||||||
|
### v1.9.15.20
|
||||||
|
*2014-12-14* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.20/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.20/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
|
||||||
|
**ccd0**
|
||||||
|
- Bugfixes.
|
||||||
|
|
||||||
### v1.9.15.19
|
### v1.9.15.19
|
||||||
*2014-12-12* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.crx "Chromium version")]
|
*2014-12-12* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.9.15.19/builds/4chan-X-noupdate.crx "Chromium version")]
|
||||||
|
|
||||||
|
|||||||
@ -215,6 +215,41 @@ module.exports = (grunt) ->
|
|||||||
options:
|
options:
|
||||||
template: 'template.jst'
|
template: 'template.jst'
|
||||||
|
|
||||||
|
jshint:
|
||||||
|
options:
|
||||||
|
undef: true
|
||||||
|
eqnull: true
|
||||||
|
expr: true
|
||||||
|
shadow: true
|
||||||
|
sub: true
|
||||||
|
scripturl: true
|
||||||
|
browser: true
|
||||||
|
devel: true
|
||||||
|
nonstandard: true
|
||||||
|
# XXX Temporarily suppress lots of existing warnings until we fix them.
|
||||||
|
'-W018': true
|
||||||
|
'-W027': true
|
||||||
|
'-W044': true
|
||||||
|
'-W053': true
|
||||||
|
'-W084': true
|
||||||
|
'-W058': true
|
||||||
|
'-W083': true
|
||||||
|
'-W093': true
|
||||||
|
globals:
|
||||||
|
Notification: true
|
||||||
|
webkitNotifications: true
|
||||||
|
HTMLDocument: true
|
||||||
|
MediaError: true
|
||||||
|
GM_getValue: true
|
||||||
|
GM_setValue: true
|
||||||
|
GM_deleteValue: true
|
||||||
|
GM_openInTab: true
|
||||||
|
GM_info: true
|
||||||
|
GM_xmlhttpRequest: true
|
||||||
|
cloneInto: true
|
||||||
|
chrome: true
|
||||||
|
script: 'tmp-<%= pkg.type %>/*.js'
|
||||||
|
|
||||||
require('load-grunt-tasks') grunt
|
require('load-grunt-tasks') grunt
|
||||||
|
|
||||||
grunt.registerTask 'default', [
|
grunt.registerTask 'default', [
|
||||||
@ -251,6 +286,7 @@ module.exports = (grunt) ->
|
|||||||
'concat:coffee'
|
'concat:coffee'
|
||||||
'coffee:script'
|
'coffee:script'
|
||||||
'coffee:eventPage'
|
'coffee:eventPage'
|
||||||
|
'jshint:script'
|
||||||
'set-channel:stable'
|
'set-channel:stable'
|
||||||
'build-crx-channel'
|
'build-crx-channel'
|
||||||
'set-channel:beta'
|
'set-channel:beta'
|
||||||
@ -274,6 +310,7 @@ module.exports = (grunt) ->
|
|||||||
'set-build:userscript'
|
'set-build:userscript'
|
||||||
'concat:coffee'
|
'concat:coffee'
|
||||||
'coffee:script'
|
'coffee:script'
|
||||||
|
'jshint:script'
|
||||||
'set-channel:stable'
|
'set-channel:stable'
|
||||||
'concat:userscript'
|
'concat:userscript'
|
||||||
'set-channel:beta'
|
'set-channel:beta'
|
||||||
|
|||||||
@ -48,6 +48,7 @@
|
|||||||
"grunt-contrib-compress": "0.12.0",
|
"grunt-contrib-compress": "0.12.0",
|
||||||
"grunt-contrib-concat": "0.5.0",
|
"grunt-contrib-concat": "0.5.0",
|
||||||
"grunt-contrib-copy": "0.7.0",
|
"grunt-contrib-copy": "0.7.0",
|
||||||
|
"grunt-contrib-jshint": "0.10.0",
|
||||||
"grunt-contrib-watch": "0.6.1",
|
"grunt-contrib-watch": "0.6.1",
|
||||||
"grunt-crx": "0.3.4",
|
"grunt-crx": "0.3.4",
|
||||||
"grunt-markdown": "0.6.1",
|
"grunt-markdown": "0.6.1",
|
||||||
@ -69,4 +70,4 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10"
|
"node": ">=0.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -317,7 +317,7 @@ Linkify =
|
|||||||
embed = file
|
embed = file
|
||||||
break
|
break
|
||||||
break if embed
|
break if embed
|
||||||
return div.textContent = "ERROR: Not a valid filetype" unless embed
|
return el.textContent = "ERROR: Not a valid filetype" unless embed
|
||||||
switch embed.type
|
switch embed.type
|
||||||
when 'video/mp4', 'video/webm', 'video/ogv'
|
when 'video/mp4', 'video/webm', 'video/ogv'
|
||||||
$.extend el, <%= html('<video controls loop><source type="video/mp4"><source type="video/webm"></video>') %>
|
$.extend el, <%= html('<video controls loop><source type="video/mp4"><source type="video/webm"></video>') %>
|
||||||
|
|||||||
@ -15,7 +15,7 @@ DownloadLink =
|
|||||||
@href = URL.createObjectURL blob
|
@href = URL.createObjectURL blob
|
||||||
@click()
|
@click()
|
||||||
else
|
else
|
||||||
new Notice 'error', "Could not download #{file.URL}", 30
|
new Notice 'error', "Could not download #{@href}", 30
|
||||||
|
|
||||||
Menu.menu.addEntry
|
Menu.menu.addEntry
|
||||||
el: a
|
el: a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user