removed twitch click mute
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
addEventListener('load', () => {
|
||||
document.body.addEventListener('click', e => {
|
||||
let target = e.target as HTMLElement | null
|
||||
if (
|
||||
target &&
|
||||
target.getAttribute('data-a-target') ===
|
||||
'player-overlay-click-handler'
|
||||
) {
|
||||
let video = document.querySelector('video')
|
||||
if (video) {
|
||||
video.muted = !video.muted
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$schema": "https://git.zomo.dev/zomo/browser-scripts-builder/raw/branch/main/meta.schema.json",
|
||||
"name": "Twitch.tv Click to Mute",
|
||||
"namespace": "zomo.dev",
|
||||
"match": "https://www.twitch.tv/*",
|
||||
"version": "1.0",
|
||||
"description": "click to mute/unmute a stream. does not work if the stream has an overlay"
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2020",
|
||||
"module": "commonjs",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"types": [
|
||||
"../../node_modules/@types/greasemonkey",
|
||||
"../../node_modules/browser-scripts-builder"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user