titaniumnetwork-dev / Ultraviolet

A highly sophisticated proxy used for evading internet censorship or accessing websites in a controlled sandbox using the power of service-workers. Works by intercepting HTTP requests with a service worker script that follows the TompHTTP specifications.
https://docs.titaniumnetwork.org/proxies/ultraviolet
GNU Affero General Public License v3.0
566 stars 4.14k forks source link

Youtube keeps adding ?themeRefresh=1, slowing down the client #126

Closed itschasa closed 7 months ago

itschasa commented 7 months ago

YouTube will (most of the time) will add themeRefresh=1 as a URL param, and this causes the page to reload twice every time you click onto a new page, instead of loading quickly (where the red bar at the top of the page appears, showing loading progress)

https://github.com/titaniumnetwork-dev/Ultraviolet/assets/79016507/8edbad28-5669-4579-8cd4-47a8d7ff0ee6

As you can see in the video, loading in the browser without UV is a lot faster, as there is no redirect being done by YouTube.

pretzer25 commented 7 months ago

whenever you are going on youtube just copy and paste the link but add themeRefresh=1 to the end, you can modify the proxy yoursely to add themeRefresh=1 to the end of the url if it doesnt exist if the url starts with https://youtube.com

itschasa commented 7 months ago

whenever you are going on youtube just copy and paste the link but add themeRefresh=1 to the end, you can modify the proxy yoursely to add themeRefresh=1 to the end of the url if it doesnt exist if the url starts with https://youtube.com

that is so weird, that actually fixes it, thank you, i will edit the proxy so it will do that automagically. thanks again <3