Speaking of which I've been meaning to remove appended tags somehow like -youtube or -breitbart automatically for a while. Gonna have to look into that. I mainly delete em b/c aesthetics. I don't need to read that trash w/ the domain displayed
var title = document.getElementsByTagName("title")[0].innerHTML;
var title = title.replace(" - YouTube", "");
You can use that as a template and change the getElements to class or id name.
I was hoping to find a way to universally do it but suspected I'm just going to have to do a long and specific sites list.
You can make a universal one but it's gonna take a lot of work and you're gonna have to edit it every time a website is doing some ui changes.
Just like Jootube and Twatter love making changes that break everything for 3rd parties on purpose.
(post is archived)