diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 00000000..9564edae
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "src/imasugu"]
+ path = src/imasugu
+ url = https://github.com/xmcp/imasugu
diff --git a/src/App.js b/src/App.js
index 180d8ead..8e5e0f4e 100644
--- a/src/App.js
+++ b/src/App.js
@@ -5,6 +5,8 @@ import {Sidebar} from './Sidebar';
import {PressureHelper} from './PressureHelper';
import {TokenCtx} from './UserAction';
+import ImasuguApp from './imasugu/src/App';
+
function DeprecatedAlert(props) {
if(['pkuhelper.com','www.pkuhelper.com','webhole.xmcp.ml','127.0.0.1','localhost'].indexOf(document.domain)===-1)
return (
@@ -79,6 +81,13 @@ class App extends Component {
}
render() {
+ if(window.location.search.match(/[?&]imasugu($|&)/)) {
+ document.body.style.backgroundColor='white';
+ return (
+
+ );
+ }
+
return (