YouTube Classic for 2018 (Polymer Disable)

Redirect YouTube pages to the classic design

< Feedback on YouTube Classic for 2018 (Polymer Disable)

Review: Bad - script does not work

§
Posted: 2020-06-16

It appears Google Has Killed Polymer Disable

It appears Google has finally done it and forced us to use their new horrible interface permanently. About a month ago they killed the other tweak adjusted the cookies value, now Google has killed using Polymer Disable in the URL. RIP old YouTube, you will be missed

§
Posted: 2020-06-22
Edited: 2020-06-22

Doesn't seem so for me, ?disable_polymer=1 still works for me, at least on some pages.

q1k
§
Posted: 2020-06-22
  1. install user-agent switcher
  2. make a new rule for youtube only and set it to googlebot
  3. profit
§
Posted: 2020-06-24

@q1k said:

  1. install user-agent switcher
  2. make a new rule for youtube only and set it to googlebot
  3. profit

Thanks! But it only worked specifically with the User-Agent Switcher addon by Alexander Schlarb (the one with 3 silhouettes in the icon) though, which has a Google Bot UA option. This didn't work with other UA switchers with UA set to "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)". I wonder why.

§
Posted: 2020-06-26

I tested the User Agent Switcher solution too. But i find a better and easy way to do: YouTube Classic by Mirza Brunjadze Yep it's for Firefox....

More infos usable in the description of my Userstyle: Youtube Dark Tweak WideScreen

PS: If you have a way (userscript/CSS/or Addon) to pin the player at it's place other to use "Video Pinner" OLD addon , i am interested....

q1k
§
Posted: 2020-06-26

@decembre I use "Youtube+" script. It has a floater player you can put anywhere, along with a bunch of other useful features.

§
Posted: 2020-06-26

@q1k a dit : @decembre I use "Youtube+" script. It has a floater player you can put anywhere, along with a bunch of other useful features.

Thanks : I know the floating player .... I want just the player stay pined at its place when i scroll.

q1k
§
Posted: 2020-06-26

@decembre said:

@q1k a dit : @decembre I use "Youtube+" script. It has a floater player you can put anywhere, along with a bunch of other useful features.

Thanks : I know the floating player .... I want just the player stay pined at its place when i scroll.

Wouldn't that cover the search bar?

q1k
§
Posted: 2020-06-26

btw, is the list view not being remembered for subs feed for you? it's so annoying

§
Posted: 2020-06-26
Edited: 2020-06-26

Just stay where it is :-) My userstyle work fine with the "Video pined" addon and Waterfox. But i can't use it with Firefox Quantum... _ want an alternative. I try by using CSS... but for now it's not very easy._

q1k
§
Posted: 2020-06-26

You'll just have to listen for scrolling and get the video player position and size. Then add position fixed on it with top/left properties set to the actual distance from the edges of the page.

§
Posted: 2020-06-26

@q1k a dit : You'll just have to listen for scrolling and get the video player position and size. Then add position fixed on it with top/left properties set to the actual distance from the edges of the page.

yes, that's simple .... But i am not coder! :-)

q1k
§
Posted: 2020-06-26
Edited: 2020-06-26

Here you go, but I don't like it

function repositionPlayer(){
    let tt = document.getElementById("player-api");
    let player = document.getElementById("movie_player");
    let playerOffset = document.getElementById("masthead-positioner-height-offset");
    if ( !(tt.getBoundingClientRect().y < playerOffset.getBoundingClientRect().height || player.classList.contains("ytp-fullscreen")) ){
        player.style.position="relative";
        player.style.top="auto";
        player.style.left="auto";
        player.style.width="100%";
        player.style.height="100%";
    } else {
        player.style.position="fixed";
        player.style.top=playerOffset.getBoundingClientRect().height;
        player.style.left=tt.getBoundingClientRect().x;
        player.style.width=tt.getBoundingClientRect().width+"px";
        player.style.height=tt.getBoundingClientRect().height+"px";
    }
}
window.addEventListener("scroll",repositionPlayer);
window.addEventListener("resize",repositionPlayer);
§
Posted: 2020-06-27
Edited: 2020-06-27

Thanks, that's i wanted ! Now i can work around.... Why you don't like it ? PS: Now i know the existence of (seems useful) : element.getBoundingClientRect [FR] Element.getBoundingClientRect() [Us] The Element.getBoundingClientRect() method returns the size of an element and its position relative to the viewport. The element's size is equal to its width/height + padding + border-width in the case that the standard box model is being used, or width/height only if box-sizing: border-box has been set on it.

q1k
§
Posted: 2020-06-27

I don't want it to cover my comments

§
Posted: 2020-06-27

Yes, I understand. But i use my userstyle to solve that: Youtube Dark Tweak WideScreen

§
Posted: 2020-07-27

To restore the Old Youtube....
You can too use this addon:
YouTube Classic by Mirza Brunjadze
For chrome see:
YouTube Classic: Chrome installation instructions:

The addon provide 3 ways to restore the Classic view...

Post reply

Sign in to post a reply.