diff --git a/extension/manifest.json b/extension/manifest.json index 5adcdfb..f92d729 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "You-Dont-Need-Useless-Dom", - "version": "1.1.0", + "version": "1.2.0", "description": "There is a lot of dom that we may not wanna look at.", "homepage_url": "https://github.com/leedom92/You-Dont-Need-Useless-Dom", "icons": { @@ -53,6 +53,14 @@ "matches": [ "https://www.bilibili.com/*" ] + }, + { + "js": [ + "scripts/douyin.js" + ], + "matches": [ + "https://www.douyin.com/*" + ] } ] } diff --git a/extension/scripts/douyin.js b/extension/scripts/douyin.js new file mode 100644 index 0000000..fbcb804 --- /dev/null +++ b/extension/scripts/douyin.js @@ -0,0 +1,4 @@ +window.onload = () => { + const LOGIN_PAGE = document.getElementById('login-full-panel') + LOGIN_PAGE?.remove() +}