@@ -15,17 +15,6 @@ import {
} from "@/logic/content/twitter.js";
-// port.onMessage.addListener(function (res) {
-// switch (res.state) {
-// // case "BACK_TWITTER_LOGIN_SUCCESS":
-// // showGiveDialogHandler();
-// // break
-// // case 'BACK_TWITTER_SHORT_URL':
-// // changeQueueNum(1)
-// }
-// });
-
chrome.storage.onChanged.addListener(changes => {
initExecuteScript(changes)
})
@@ -1,4 +1,4 @@
-export const appVersionCode = 2
+export const appVersionCode = 3
const api = {
production: 'https://api.denetme.net',
@@ -595,7 +595,6 @@ export function init() {
onChangePageMain(targetNode)
changeQueueNum(1)
}
- console.log('main_observer', main_observer)
console.log('queue_num', queue_num)
if (queue_num <= 0) {
return
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "DeNet",
"description": "Growing more twitter followers with Denet",
- "version": "1.0.2",
+ "version": "1.0.3",
"background": {
"service_worker": "/js/background.js"
},
@@ -30,15 +30,6 @@
]
],
- "declarative_net_request": {
- "rule_resources": [
- {
- "id": "ruleset_1",
- "enabled": true,
- "path": "/rules/rules_1.json"
- }
- ]
- },
"host_permissions": [
"*://*.twitter.com/*",
"*://twitter.com/*",
@@ -10,10 +10,6 @@
"header": "X-Frame-Options",
"operation": "remove"
- "header": "Frame-Options",
- "operation": "remove"
{
"header": "Content-Security-Policy",
@@ -99,10 +99,6 @@ module.exports = {
from: path.resolve(`src/manifest.json`),
to: `${path.resolve('dist')}/manifest.json`
- from: path.resolve(`src/rules`),
- to: `${path.resolve('dist')}/rules`