NDevTK
NDevTK
Instead of requesting access to all urls and trying to find a way to attach to targets that can be created at anytime before any code runs and ignoring security...
I have very limited time at the moment... Went to https://ndev.tk/ then in devtools console changed the context from "top" to "sw.js" and did console.log(navigator.userAgent) The Target Domain may be...
Yep :) ```js w = open(); w.eval('alert(navigator.userAgent)'); ```
```js onmessage = console.log; w = open(); w.eval('opener.postMessage(navigator.userAgent)'); ```
This is something that can be detected automatically https://github.com/NDevTK/AutoSkip/blob/master/ContentScript.js
For privacy and offline usage I think this would be better as a OS level script. If such a tool does not already exist I can try to make one...
Sounds may affect people differently. "Loud Noises" is something thats detectable but annoying sounds is opinionated. If your referring to a live stream then that would need to be done...
Going to youtube.com/tv seems to get redirected. The user agent "AppleTV/tvOS/9.1.1" seems to fix this :D (For debugging) example video: https://www.youtube.com/tv#/watch/video/idle?v=dQw4w9WgXcQ&resume
https://github.com/ajayyy/SponsorBlock/pull/214 (URL Parser support)