youtube round corner video question
Go to solution
Solved by RockSolid1106,
Here's a TamperMonkey script I quickly made:
// ==UserScript== // @name Remove YT border-radius // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author You // @match https://www.youtube.com/watch* // @icon https://www.google.com/s2/favicons?sz=64&domain=stackoverflow.com // @grant none // @require https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js // @require https://gist.github.com/raw/2625891/waitForKeyElements.js // @run-at document-idle // ==/UserScript== (function() { waitForKeyElements ('ytd-player[context="WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH"]', abc); 'use strict'; function abc(n){ n[0].style.borderRadius=0 } })();
You can install the TamperMonkey extension on your browser, and add this script.
The script essentially selects the element which I found to have the border-radius(rounded corners) style attribute, and sets that attribute to zero(no rounded corners).
This should work as long as YT doesn't update and change the attributes.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now