Skip to content

Commit

Permalink
5.3.8 增加 2.booklink.me ywzhaiqi#65
Browse files Browse the repository at this point in the history
  • Loading branch information
ywzhaiqi committed Apr 15, 2017
1 parent 9326d53 commit 65f569f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions MyNovelReader/MyNovelReader.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @name My Novel Reader
// @name:zh-CN 小说阅读脚本
// @name:zh-TW 小說閱讀腳本
// @version 5.3.7
// @version 5.3.8
// @namespace https://github.com/ywzhaiqi
// @author ywzhaiqi
// @contributor Roger Au, shyangs, JixunMoe、akiba9527 及其他网友
Expand Down Expand Up @@ -57,7 +57,7 @@

// @include *://tieba.baidu.com/p/*
// @include *://booklink.me/*
// @include https://booklink.me/*
// @include *://2.booklink.me/*

// booklink.me
// @include *://www.shumilou.co/*/*.html
Expand Down Expand Up @@ -4874,7 +4874,6 @@ var BookLinkMe = {
clickedColor: "666666",

init: function() {
if (location.host != 'booklink.me') return;

this.addUnreadButton();

Expand Down Expand Up @@ -4988,7 +4987,7 @@ var BookLinkMe = {
}
};

if (location.host === 'booklink.me') {
if (location.host.indexOf('booklink.me') > -1) {
BookLinkMe.init();
} else {
App.init();
Expand Down
2 changes: 1 addition & 1 deletion MyNovelReader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MyNovelReader",
"version": "5.3.7",
"version": "5.3.8",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
Expand Down
3 changes: 1 addition & 2 deletions MyNovelReader/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,6 @@ var BookLinkMe = {
clickedColor: "666666",

init: function() {
if (location.host != 'booklink.me') return;

this.addUnreadButton();

Expand Down Expand Up @@ -972,7 +971,7 @@ var BookLinkMe = {
}
};

if (location.host === 'booklink.me') {
if (location.host.indexOf('booklink.me') > -1) {
BookLinkMe.init();
} else {
App.init();
Expand Down
2 changes: 1 addition & 1 deletion MyNovelReader/src/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

// @include *://tieba.baidu.com/p/*
// @include *://booklink.me/*
// @include https://booklink.me/*
// @include *://2.booklink.me/*

// booklink.me
// @include *://www.shumilou.co/*/*.html
Expand Down

0 comments on commit 65f569f

Please sign in to comment.