mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-29 17:37:54 +01:00
Support for Android Firefox and m.youtube.com
should fix #68 and #143 List of changes: * Suppress mobile user agents in background script * Also look for the mobile equivalents of relevant HTML Elements * More consistently use get[Dis]LikeButton() instead of getButtons().children * Add mobile-specific css tweaks
This commit is contained in:
3 files changed
+59
-25
No files matched your search
@@ -1,3 +1,9 @@
|
||||
html {
|
||||
/* fallback values for mobile */
|
||||
--yt-spec-icon-disabled: #909090;
|
||||
--yt-spec-text-primary: #030303;
|
||||
}
|
||||
|
||||
#return-youtube-dislike-bar-container {
|
||||
background: var(--yt-spec-icon-disabled);
|
||||
border-radius: 2px;
|
||||
@@ -16,6 +22,16 @@
|
||||
top: 9px;
|
||||
}
|
||||
|
||||
ytm-slim-video-action-bar-renderer > .ryd-tooltip {
|
||||
padding-left: 12px;
|
||||
top: 0px;
|
||||
}
|
||||
|
||||
/* tp-yt-paper-tooltip not supported on mobile */
|
||||
ytm-slim-video-action-bar-renderer tp-yt-paper-tooltip {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.ryd-tooltip-bar-container {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
|
||||
Reference in new issue
Block a user