Skip to content

Commit

Permalink
v1.32.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ccloli committed Sep 7, 2020
1 parent d2bd3dc commit c435f52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion e-hentai-downloader.meta.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name E-Hentai Downloader
// @version 1.32
// @version 1.32.1
// @description Download E-Hentai archive as zip file
// @author 864907600cc
// @icon https://secure.gravatar.com/avatar/147834caf9ccb0a66b2505c753747867
Expand Down
16 changes: 8 additions & 8 deletions e-hentai-downloader.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name E-Hentai Downloader
// @version 1.32
// @version 1.32.1
// @description Download E-Hentai archive as zip file
// @author 864907600cc
// @icon https://secure.gravatar.com/avatar/147834caf9ccb0a66b2505c753747867
Expand All @@ -16,6 +16,9 @@
// @updateURL https://github.com/ccloli/E-Hentai-Downloader/raw/master/e-hentai-downloader.meta.js
// @downloadURL https://github.com/ccloli/E-Hentai-Downloader/raw/master/e-hentai-downloader.user.js
// @supportURL https://github.com/ccloli/E-Hentai-Downloader/issues
// @connect e-hentai.org
// @connect exhentai.org
// @connect hath.network
// @connect *
// @grant GM_getValue
// @grant GM_setValue
Expand All @@ -36,15 +39,12 @@ console.log('[EHD] Bugs Report >', 'https://github.com/ccloli/E-Hentai-Downloade
console.log('[EHD] To report a bug, it\'s recommended to provide the logs started with "[EHD]", thanks. =w=');

// GreaseMonkey 4.x compatible
var GM_setValue = self.GM_setValue;
var GM_xmlhttpRequest = self.GM_xmlhttpRequest;
var GM_info = self.GM_info;
var loadSetting;
if (typeof GM !== 'undefined') {
if (typeof GM !== 'undefined' && (GM.info.scriptHandler || '').indexOf('GreaseMonkey') >= 0) {
loadSetting = GM.getValue.bind(this, 'ehD-setting');
GM_setValue = GM.setValue;
GM_xmlhttpRequest = GM.xmlHttpRequest;
GM_info = GM.info;
self.GM_setValue = GM.setValue;
self.GM_xmlhttpRequest = GM.xmlHttpRequest;
self.GM_info = GM.info;
}
else {
loadSetting = function (key, init) {
Expand Down

0 comments on commit c435f52

Please sign in to comment.