Reverts YouTube to its classic design (before all the rounded corners & hidden dislikes) + redirects YouTube Shorts
Dette er versjoner av dette scriptet hvor koden ble oppdatert. Vis alle versjoner.
Limited line to 120 chars max for readability
Stripped trailing whitespace
Fixed filter bar missing in playlists for some users (adamlui/userscripts#108) ↞ [auto-sync from adamlui/youtube-classic]
adamlui/youtube-classic
Changed @run-at to document-end to resolve observer errors in qutebrowser (adamlui/youtube-classic#44) ↞ [auto-sync from adamlui/youtube-classic]
@run-at
document-end
Renamed elemisLoaded() to waitForElem() since more readable w/ .then() ↞ [auto-sync from adamlui/youtube-classic]
elemisLoaded()
waitForElem()
.then()
Condensed waitForElm(), renamed to elemIsLoaded() ↞ [auto-sync from adamlui/youtube-classic]
waitForElm()
elemIsLoaded()
Added wait for load before observing for homepage ads (adamlui/userscripts#106) ↞ [auto-sync from adamlui/youtube-classic]
Fixed ads/Shorts re-appear when nav'ing to homepage ↞ [auto-sync from adamlui/youtube-classic]
Updated @supportURL ↞ [auto-sync from adamlui/youtube-classic]
@supportURL
Replaced fixesStyle.innerHTML w/ fixesStyle.innerText ↞ [auto-sync from adamlui/youtube-classic]
fixesStyle.innerHTML
fixesStyle.innerText
Deleted no-longer needed reply expansion CTA pluralization ↞ [auto-sync from adamlui/youtube-classic]
Eliminated .innerHTML reliance from YT logo replacer ↞ [auto-sync from adamlui/youtube-classic]
.innerHTML
Deleted CSS unnecessary hiding of rich sections (adamlui/userscripts#108) ↞ [auto-sync from adamlui/youtube-classic]
Added removal of homepage shelves to avoid slot gaps before lazy load reached ↞ [auto-sync from adamlui/youtube-classic]
Fixed homepage ad remover re-arranges thumbs + leaves ugly gaps ↞ [auto-sync from adamlui/youtube-classic]
Added ad removal to homepage (adamlui/userscripts#106) ↞ [auto-sync from adamlui/youtube-classic]
Added waiting for document.head before appending fixesStyle ↞ [auto-sync from adamlui/youtube-classic]
document.head
fixesStyle
Wrapped code in IIFE to prevent global namespace pollution ↞ [auto-sync from adamlui/youtube-classic]
Updated waitForElm() obs target to document.documentElement now that YT body loads slower ↞ [auto-sync from adamlui/youtube-classic]
document.documentElement
ESCAPED_MSG ↞ [auto-sync from adamlui/youtube-classic]
Shortened document.location.href to location.href
document.location.href
location.href
Reduced gap between meta keys/vals
Converted double-quotes to single ones, removed escape chars ↞ [auto-sync from adamlui/youtube-classic]
Wrapped btnStyle append in IIFE ↞ [auto-sync from adamlui/youtube-classic]
btnStyle
Style updates ↞ [auto-sync from adamlui/youtube-classic]
Updated download/update URLs
Shortened match meta
Removd unused vars + old witForElm() + flag IIFE ↞ [auto-sync from adamlui/youtube-classic]
witForElm()
Removed unused mutations arg, replaced double quotes w/ single ones ↞ [auto-sync from adamlui/youtube-classic]
mutations
Updated CSS/flags ↞ [auto-sync from adamlui/youtube-classic]
Replaced all window's w/ unsafeWindow's to accomodate // @grant's ↞ [auto-sync from adamlui/youtube-classic]
window
unsafeWindow
// @grant
Added menu option to disable Shorts redirect ↞ [auto-sync from adamlui/youtube-classic]
Reverted disappearing channel header fix
... as it is no longer needed and adds gap to home page as of today
Fixed disappearing header in channel homepage
Updated CSS (#46)
Show all script versions