Giter Club home page Giter Club logo

revert-youtube-ui's Introduction

Revert-YouTube-UI

image

a temporary solution to revert to the old ui. the new ui was put into effect since april and is slowly rolling out to users.

NEW PEOPLE PLEASE USE THE LATEST PRE RELEASE https://github.com/apersongithub/Revert-YouTube-UI/releases/tag/v1.0.3.1

Features

  • runs automatically no need to manually do anything after installation
  • lightweight no loops in the code
  • opens youtube on install to prevent issues
  • uses cookie method instead of url
  • works for everyone even if you haven't modified the pref cookie before
  • firefox support

Steps (for chromium based browsers only) Internet-chromium-icon

(if we get $20 donated ill add it to the chrome webstore like I did with firefox)

Download the latest release (make sure its the .zip file)

goto chrome://extensions

(make sure developer mode is enabled)

Drag the zip file to the extensions page

You're good to go!

If it still doesn't work I would recommend refreshing youtube on the homepage atleast once

Im working on a css version/perm fix so this wont be an issue

your youtube ui should be back to normal!

feel free to contribute or send a pull request

Steps (for firefox/gecko based browsers only) Firefox_logo,_2019 svg

(you can skip everything below and just go to this link https://addons.mozilla.org/en-US/firefox/addon/revert-youtube-ui/ or follow alternative steps)

Download the latest release (make sure its the .xpi (recommended) or .zip file))

goto about:debugging

goto this firefox browser

click load temporary addon

Select the crx file and click done

You're good to go! (I haven't fully tested firefox so create an issue if it doesn't work)

If it still doesn't work I would recommend refreshing youtube on the homepage atleast once

Im working on a css version/perm fix so this wont be an issue

your youtube ui should be back to normal!

feel free to contribute or send a pull request

Tutorial

https://www.youtube.com/watch?v=CpR0jTX4iUA

How it works

This extension allows you to modify the 'PREF' cookie, which is responsible for the theme settings, and open YouTube in a non-dynamic manner, making it possible for the extension to change the URL autonomously.

Donate

Buy Me A Coffee

revert-youtube-ui's People

Contributors

apersongithub avatar zevordex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

revert-youtube-ui's Issues

doesnt change the ui

help me i have followed the steps told but it does not work

i am using opera GX browser

just doesnt work

i disabled all other extensions and nothing happens, and gives errors saying manifest version 2 is deprecated also middle clicking a video opens multiple

Ignoring preview progress bar.

When you press on preview progress bar on the main page, script will redirect you anyway.
image
(This bar)

it can be fixed just by adding this line of code to the content.js

if (e.target.classList.contains('ytp-scrubber-pull-indicator')) return;

sorry for my bad English

Firefox?

Will there be an extension for Firefox?

I was using the PREF workaround since the new UI started (I posted the fix on Reddit), but it reverted and no longer works as of an hour ago. The PREF keeps going back to the previous.

Can't go back to search page results (Firefox)

Just to give a head's up, If you click on a video from search results and try to back button back to the results page, it seems to just go back to the last video you watched or the previous on the list. If I click the back button again, to get past that other video, it takes me back to the homepage. I have to click and hold the back button to list the previous pages and get back to he results from there.

Other than that, it does the job.

Middle click to open new tab

Hi there, thanks for making this extension.

Currently when trying to middle click to open the video in a new tab, cancels the tab from opening and just loads it in the current one.

Changing

if (e.button > || e.altKey) return;

to

if (e.button >= 1 || e.altKey) return;

Resolves this.

Also the extension seems to work fine without the cookie function, and doesn't result in the white flashbang from the refresh on the first load. What's the exact purpose of setting this cookie?

Video is cutoff at the bottom

Hello, when im reverting back to the old layout part of the Video is cut off at the bottom (see screenshots) , this does not happen in Fullscreen, if you need additional information im gladly provinde the needed info.
new layout
oldlayout (bugged)

Thanks alot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.