reisxd / TizenTube

A NodeJS script to remove ads and add support for Sponsorblock for your Tizen TV (2017 and forward).
https://tizentube.live
GNU General Public License v3.0
389 stars 34 forks source link

Mods rewrite (allow no delay) #46

Closed ThowZzy closed 4 months ago

ThowZzy commented 4 months ago

You would also need to remove the delay before injecting and add an URL in the IF statement to see if the context that got created isn't from a local page, but from the actual modded website (eg:youtube.com). As discussed you could check if the URL is contained in an array of supported URLs. As can see in this commit https://github.com/ThowZzy/TizenTube-Legacy/commit/79c95b0360df073516d0ed9dfc265b4bba2d969f

Note: The theme.js mod wasn't tested nor modified (needs testing a bit)