Update aak-cont-script.user.js

This commit is contained in:
Hugo Xu 2017-05-24 22:15:33 +00:00
parent fcac29d179
commit 3e57fa758e

View File

@ -1498,7 +1498,7 @@ return;
host : ['xuhaiyang1234.gitlab.io'], host : ['xuhaiyang1234.gitlab.io'],
onEnd : function () { onEnd : function () {
if (location.pathname.endsWith("settings.html") { if (/^\/AAK-Cont\//.test(location.pathname)) {
var settingsBox = Aak.getElement('#aak-settings-box'); var settingsBox = Aak.getElement('#aak-settings-box');
var settingsNotice = Aak.getElement('#aak-settings-notice'); var settingsNotice = Aak.getElement('#aak-settings-notice');