younesaassila / ttv-lol-pro

TTV LOL PRO removes most livestream ads from Twitch. This is free, don't expect it to be perfect.
GNU General Public License v3.0
1.39k stars 28 forks source link

Improve midroll blocking on Firefox #196

Closed younesaassila closed 6 months ago

younesaassila commented 1 year ago

I've thought about a potential new system for blocking midrolls on Firefox with optimizations turned on:

This will make the player effectively use fresh links not yet linked to the user's true location.

I don't plan on coding the feature myself, I'm very tired of this project tbh. I'm open to any contribution on this and would highly appreciate them!

younesaassila commented 1 year ago

@schipht Hey, please avoid using PerfProd proxies outside of the TTV LOL PRO extension. This config spams the server with requests since SwitchyOmega doesn't implement TTV LOL PRO-specific optimizations. This results in purple screens being more likely for all users of the proxy. Please either use your own proxy in SwitchyOmega or use TTV LOL PRO. Thanks

schipht commented 1 year ago

@younesaassila hello i'm sorry heard this. i didn't knew how is your extension working with proxy server. i didn't get any ads while using firefox proxy with switchyomega.

here is public proxy server settings for switchyomega:

{"+auto switch":{"profileType":"SwitchProfile","rules":[{"condition":{"pattern":"^https://usher.ttvnw.net////","conditionType":"UrlRegexCondition"},"profileName":"proxy"},{"condition":{"pattern":"^https://video-weaver.*","conditionType":"UrlRegexCondition"},"profileName":"proxy"},{"condition":{"pattern":"gql.twitch.tv","conditionType":"HostWildcardCondition"},"profileName":"proxy"},{"condition":{"pattern":"passport.twitch.tv","conditionType":"HostWildcardCondition"},"profileName":"proxy"}],"name":"auto switch","color":"#99dd99","defaultProfileName":"direct","revision":"1886964ce63"},"+proxy":{"bypassList":[{"pattern":"127.0.0.1","conditionType":"BypassCondition"},{"pattern":"::1","conditionType":"BypassCondition"},{"pattern":"localhost","conditionType":"BypassCondition"}],"profileType":"FixedProfile","name":"proxy","color":"#99ccee","fallbackProxy":{"port":55555,"scheme":"http","host":"proxy.karayel.xyz"},"revision":"18936320271"},"-addConditionsToBottom":false,"-confirmDeletion":true,"-downloadInterval":1440,"-enableQuickSwitch":false,"-monitorWebRequests":true,"-quickSwitchProfiles":[],"-refreshOnProfileChange":true,"-revertProxyChanges":true,"-showConditionTypes":0,"-showExternalProfile":true,"-showInspectMenu":false,"-startupProfileName":"auto switch","schemaVersion":2}

copy this settings into the settings.bak file and install switchyomega extension to your browsers. then import settings.bak file.

younesaassila commented 6 months ago

Fixed in 2.3.0