Skip to content

Commit

Permalink
简单增加 ChromeGetIncognitoState 方法
Browse files Browse the repository at this point in the history
  • Loading branch information
kkHAIKE authored Jul 3, 2018
1 parent 4d12452 commit 0d1ab3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fake115.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name fake 115Browser
// @namespace http://github.com/kkHAIKE/fake115
// @version 1.3.5
// @version 1.3.7
// @description 伪装115浏览器
// @author kkhaike
// @match *://115.com/*
Expand Down Expand Up @@ -396,6 +396,10 @@ browserInterface.LoginEncrypt = function(n, g) {
browserInterface.GetBrowserVersion = function() {
return new String(g_ver);
};

browserInterface.ChromeGetIncognitoState = function() {
return false;
};

unsafeWindow.browserInterface = cloneInto(browserInterface, unsafeWindow, {
cloneFunctions: true
Expand Down

0 comments on commit 0d1ab3c

Please sign in to comment.