ソースを参照

[edit] fix inject

wenliming 2 年 前
コミット
310a1f5354
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/logic/content/twitter.js

+ 1 - 1
src/logic/content/twitter.js

@@ -64,7 +64,7 @@ function getDiscordAuthCode() {
  * @param port
  */
 function renderDom() {
-    if (window.location.href.indexOf('https://twitter.com') > -1) {
+    if (window.location.href.indexOf('https://twitter.com') > -1 || window.location.href.indexOf('https://mobile.twitter.com') > -1 ) {
         _createBtnDom();
         onWindowResize();
         checkHasDeBtn();