Skip to content
Snippets Groups Projects
Commit b4696e4e authored by Kelvin's avatar Kelvin
Browse files

Remove cookie banner

parent 8d978dd7
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
"sourceUrl": "https://plugins.grayjay.app/Twitch/TwitchConfig.json",
"repositoryUrl": "https://futo.org",
"scriptUrl": "./TwitchScript.js",
"version": 14,
"version": 15,
"iconUrl": "./twitch.png",
"id": "c0f315f9-0992-4508-a061-f2738724c331",
......
......@@ -426,7 +426,8 @@ source.getLiveChatWindow = function(url) {
const login = url.split('/').pop()
return {
url: "https://www.twitch.tv/popout/" + login + "/chat",
removeElements: [ ".stream-chat-header", ".chat-room__content > div:first-child"]
removeElements: [ ".stream-chat-header", ".chat-room__content > div:first-child"],
removeElementsInterval: [".consent-banner"]
};
}
source.getLiveEvents = function (url) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment