Support Chrome users on Windows.
This commit is contained in:
parent
3f7a3584ea
commit
7e25c13987
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,5 +5,4 @@ node_modules/
|
|||||||
tmp-crx/
|
tmp-crx/
|
||||||
tmp-userscript/
|
tmp-userscript/
|
||||||
testbuilds/
|
testbuilds/
|
||||||
builds/4chan-X.zip
|
|
||||||
Gruntfile.js
|
Gruntfile.js
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
**ccd0**
|
||||||
|
- Support Chrome users on Windows.
|
||||||
|
|
||||||
### v1.7.42
|
### v1.7.42
|
||||||
*2014-05-18*
|
*2014-05-18*
|
||||||
|
|
||||||
|
|||||||
@ -55,6 +55,13 @@ module.exports = (grunt) ->
|
|||||||
'src/General/meta/usestrict.js'
|
'src/General/meta/usestrict.js'
|
||||||
'tmp-<%= pkg.type %>/script.js'
|
'tmp-<%= pkg.type %>/script.js'
|
||||||
]
|
]
|
||||||
|
'testbuilds/wcrx/manifest.json': 'src/General/meta/manifest-w.json'
|
||||||
|
'testbuilds/wcrx/script.js': [
|
||||||
|
'src/General/meta/botproc.js'
|
||||||
|
'src/General/meta/banner.js'
|
||||||
|
'src/General/meta/usestrict.js'
|
||||||
|
'tmp-<%= pkg.type %>/script.js'
|
||||||
|
]
|
||||||
userscript:
|
userscript:
|
||||||
files:
|
files:
|
||||||
'testbuilds/<%= pkg.name %>.meta.js': 'src/General/meta/metadata.js'
|
'testbuilds/<%= pkg.name %>.meta.js': 'src/General/meta/metadata.js'
|
||||||
@ -72,6 +79,11 @@ module.exports = (grunt) ->
|
|||||||
dest: 'testbuilds/crx/'
|
dest: 'testbuilds/crx/'
|
||||||
expand: true
|
expand: true
|
||||||
flatten: true
|
flatten: true
|
||||||
|
wcrx:
|
||||||
|
src: 'src/General/img/*.png'
|
||||||
|
dest: 'testbuilds/wcrx/'
|
||||||
|
expand: true
|
||||||
|
flatten: true
|
||||||
builds:
|
builds:
|
||||||
cwd: 'testbuilds/'
|
cwd: 'testbuilds/'
|
||||||
src: '**'
|
src: '**'
|
||||||
@ -138,7 +150,7 @@ module.exports = (grunt) ->
|
|||||||
pretty: true
|
pretty: true
|
||||||
expand: true
|
expand: true
|
||||||
flatten: true
|
flatten: true
|
||||||
src: 'testbuilds/crx/*'
|
src: 'testbuilds/wcrx/*'
|
||||||
dest: '/'
|
dest: '/'
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@ -183,6 +195,7 @@ module.exports = (grunt) ->
|
|||||||
'coffee:script'
|
'coffee:script'
|
||||||
'concat:crx'
|
'concat:crx'
|
||||||
'copy:crx'
|
'copy:crx'
|
||||||
|
'copy:wcrx'
|
||||||
'clean:tmpcrx'
|
'clean:tmpcrx'
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -197,6 +210,7 @@ module.exports = (grunt) ->
|
|||||||
grunt.registerTask 'release', [
|
grunt.registerTask 'release', [
|
||||||
'build'
|
'build'
|
||||||
'shell:pack'
|
'shell:pack'
|
||||||
|
'compress:crx'
|
||||||
'concat:meta'
|
'concat:meta'
|
||||||
'copy:builds'
|
'copy:builds'
|
||||||
'shell:commit'
|
'shell:commit'
|
||||||
|
|||||||
@ -8,10 +8,7 @@ https://github.com/Nebukazar/OneeChan
|
|||||||
##[Install](https://ccd0.github.io/4chan-x/builds/4chan-X.user.js) (Firefox)
|
##[Install](https://ccd0.github.io/4chan-x/builds/4chan-X.user.js) (Firefox)
|
||||||
Install [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/), then click the link above to install.
|
Install [Greasemonkey](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/), then click the link above to install.
|
||||||
##[Install](https://ccd0.github.io/4chan-x/builds/crx.crx) (Chromium)
|
##[Install](https://ccd0.github.io/4chan-x/builds/crx.crx) (Chromium)
|
||||||
Download the file and add drag it to your chrome://extensions page.
|
Download the file and add drag it to your chrome://extensions page. Chrome 35+ users on Windows may need to install it from [here](https://chrome.google.com/webstore/detail/4chan-x/ohnjgmpcibpbafdlkimncjhflgedgpam).
|
||||||
<!---
|
|
||||||
##[Install](http://a.pomf.se/tkhuwm.xpi) (Firefox Mobile)
|
|
||||||
-->
|
|
||||||
|
|
||||||
## If you have any problems, try resetting your 4chan X settings
|
## If you have any problems, try resetting your 4chan X settings
|
||||||
|
|
||||||
|
|||||||
24
src/General/meta/manifest-w.json
Executable file
24
src/General/meta/manifest-w.json
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "<%= meta.name %>",
|
||||||
|
"version": "<%= version %>",
|
||||||
|
"manifest_version": 2,
|
||||||
|
"description": "<%= description %>",
|
||||||
|
"icons": {
|
||||||
|
"16": "icon16.png",
|
||||||
|
"48": "icon48.png",
|
||||||
|
"128": "icon128.png"
|
||||||
|
},
|
||||||
|
"content_scripts": [{
|
||||||
|
"js": ["script.js"],
|
||||||
|
"matches": <%= JSON.stringify(meta.matches) %>,
|
||||||
|
"all_frames": true,
|
||||||
|
"run_at": "document_start"
|
||||||
|
}],
|
||||||
|
"homepage_url": "<%= meta.page %>",
|
||||||
|
"minimum_chrome_version": "<%= meta.min.chrome %>",
|
||||||
|
"permissions": [
|
||||||
|
"storage",
|
||||||
|
"http://*/",
|
||||||
|
"https://*/"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user