Hey. To be perfectly honest, i don't know ANY JS coding what so ever.
I know some C#, so i understand the basic behind the JS coding...
My problem is probably simple (for those of you who knoe JS).
Since youtube updated theyre UI, i have been constantly annoyed with all the "recommended for you" videos appearing.
So i downloaded a chrome extension wich redirects you from "youtube.com" to "youtubecn.com" (youtube for countries where normal youtube is blocked).
I thought i could simply change "youtubecn.com" to "youtube.com/feed/subscriptions".
Turns out it wasnt that easy as the extension detects that the only thing between "www." and ".com" is "youtube" in both cases instead of "youtubecn"
Can someone please make this redirect me from "youtube.com" to "youtube.com/feed/subscriptions"?
Code:
var l=location.href;
if(l.match("youtube")){ l=l.replace("www.youtube.com","youtube.com/feed/subscriptions");
location.href=l;
}