diff --git a/bin/update.json b/bin/update.json index 731a533..1ff19a9 100644 --- a/bin/update.json +++ b/bin/update.json @@ -2,7 +2,7 @@ "addons": { "unlisted-particle@particlecore.github.io": { "updates": [{ - "version": "1.7.9", + "version": "1.8.0", "update_link": "https://github.com/ParticleCore/Particle/raw/master/dist/YouTubePlus.xpi", "applications": { "gecko": { diff --git a/dist/YouTubePlus.xpi b/dist/YouTubePlus.xpi index 6b1358f..e715b8b 100644 Binary files a/dist/YouTubePlus.xpi and b/dist/YouTubePlus.xpi differ diff --git a/src/Userscript/YouTubePlus.user.js b/src/Userscript/YouTubePlus.user.js index e9d02f2..3fa833b 100644 --- a/src/Userscript/YouTubePlus.user.js +++ b/src/Userscript/YouTubePlus.user.js @@ -1,8 +1,10 @@ // ==UserScript== -// @version 1.7.9 +// @version 1.8.0 // @name YouTube + // @namespace https://github.com/ParticleCore // @description YouTube with more freedom +// @compatible chrome +// @compatible firefox // @icon https://raw.githubusercontent.com/ParticleCore/Particle/gh-pages/images/YT%2Bicon.png // @match *://www.youtube.com/* // @exclude *://www.youtube.com/tv* @@ -594,7 +596,7 @@ if (temp !== "player-api" && temp !== "upsell-video") { return original.apply(this, arguments); } - /*b = */modArgs(b); + modArgs(b); temp = original.apply(this, arguments); player = document.getElementById("movie_player"); if (player) { @@ -613,6 +615,9 @@ function modAutoplayFullscreen(original) { return function () { var has_ended, next_button, next_clicked; + if (!document.mozFullScreenElement && !document.webkitFullscreenElement) { + return original.apply(this, arguments); + } has_ended = api && api.getCurrentTime && Math.round(api.getCurrentTime()) >= Math.floor(api.getDuration()); next_clicked = document.activeElement.classList.contains("ytp-button-next") || document.activeElement.classList.contains("ytp-next-button"); if (!user_settings.plApl && !next_clicked && has_ended) { @@ -634,24 +639,16 @@ } function modPlayerCreate(original) { return function (a, b) { - var i, temp, player; + var temp, player; temp = a.id || a; if (temp !== "player-api" && temp !== "upsell-video") { return original.apply(this, arguments); } - /*b = */modArgs(b); + modArgs(b); if (a.id === "upsell-video") { original.apply(this, arguments); } else if (typeof a === "object") { player_instance = original.apply(this, arguments); - temp = Object.keys(player_instance); - i = temp.length; - while (i--) { - if (typeof player_instance[temp[i]] === "object" && player_instance[temp[i]] && player_instance[temp[i]].hasNext) { - player_instance[temp[i]].hasNext = modAutoplayFullscreen(player_instance[temp[i]].hasNext); - break; - } - } player = document.getElementById("movie_player"); if (user_settings.VID_PLR_FIT) { resizePlayer(); @@ -722,6 +719,12 @@ window.yt.player.Application.create = modPlayerCreate(window.yt.player.Application.create); if (window._yt_player) { temp = Object.keys(window._yt_player); + for (i = 0; i < temp.length; i++) { + if (typeof window._yt_player[temp[i]] === "function" && window._yt_player[temp[i]].prototype && window._yt_player[temp[i]].prototype.hasNext) { + window._yt_player[temp[i]].prototype.hasNext = modAutoplayFullscreen(window._yt_player[temp[i]].prototype.hasNext); + break; + } + } for (i = 0; i < temp.length; i++) { if (typeof window._yt_player[temp[i]] === "function" && window._yt_player[temp[i]].toString().match(/this\.adaptiveFormats/)) { key = temp[i]; @@ -1991,7 +1994,7 @@ function infiniteScroll() { var observer, loadMore; loadMore = document.querySelector(".load-more-button"); - if (loadMore && user_settings.GEN_INF_SCRL) { + if (window.location.pathname !== "/watch" && loadMore && user_settings.GEN_INF_SCRL) { if (!loadMore.classList.contains("infiniteScroll")) { loadMore.classList.add("infiniteScroll"); observer = new MutationObserver(infiniteScroll); @@ -2087,13 +2090,15 @@ } function isMaterial() { var temp; - temp = document.querySelector("ytd-app"); + temp = document.querySelector("ytd-app, [src*='polymer'],[href*='polymer']"); if (temp && !document.getElementById("material-notice")) { temp = document.createElement("template"); temp.innerHTML = // - `
+ `
YouTube Plus is not compatible with the YouTube beta Material Layout
- The development of YouTube Plus might end when this layout is officially launched, click here to read the announcement
+ Click here for instructions to restore classic YouTube and continue using YT+
+ The development of YT+ might end when this layout is launched permanently,
+ click here to read the announcement
To keep using the current layout without this message please disable YT+
`; document.documentElement.appendChild(temp.content.firstChild); @@ -2336,7 +2341,7 @@ holder = document.createElement("link"); holder.rel = "stylesheet"; holder.type = "text/css"; - holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.9"; + holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.0"; document.documentElement.appendChild(holder); } holder = document.createElement("script"); diff --git a/src/Webextension/CSS/YouTubePlus.css b/src/Webextension/CSS/YouTubePlus.css index fd40f4b..ee66735 100644 --- a/src/Webextension/CSS/YouTubePlus.css +++ b/src/Webextension/CSS/YouTubePlus.css @@ -1,1146 +1,1148 @@ /* start| Ads visibility */ -.part_no_ads #header, -.part_no_ads #feed-pyv-container, -.part_no_ads .video-list-item:not(.related-list-item):not(.dashboard-widget-item), -.part_no_ads .pyv-afc-ads-container, -.part_no_ads .ad-div{ - display: none; -} + .part_no_ads #header, + .part_no_ads #feed-pyv-container, + .part_no_ads .video-list-item:not(.related-list-item):not(.dashboard-widget-item), + .part_no_ads .pyv-afc-ads-container, + .part_no_ads .ad-div{ + display: none; + } /* end| Ads visibility */ /* start| Hide video details */ -.part_hide_details #action-panel-details{ - display: none; -} + .part_hide_details #action-panel-details{ + display: none; + } /* end| Hide video details */ /* start| Disable blue glow */ -.part_dsbl_glow .yt-uix-button:focus, -.part_dsbl_glow .yt-uix-button:focus:hover -.part_dsbl_glow .ytp-keyboard-focus{ - box-shadow: initial !important; -} + .part_dsbl_glow .yt-uix-button:focus, + .part_dsbl_glow .yt-uix-button:focus:hover + .part_dsbl_glow .ytp-keyboard-focus{ + box-shadow: initial !important; + } /* end| Disable blue glow */ /* start| Hide footer */ -.part_hide_footer #footer-container{ - display: none; -} -.part_hide_footer #body-container{ - padding-bottom: initial; -} + .part_hide_footer #footer-container{ + display: none; + } + .part_hide_footer #body-container{ + padding-bottom: initial; + } /* end| Hide footer */ /* start| Compact video title */ -.part_compact_title #watch7-headline #eow-title{ - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} + .part_compact_title #watch7-headline #eow-title{ + display: block; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } /* end| Compact video title */ /* start| Compact thumbnail titles */ -.part_compact_titles .feed-item-container .yt-ui-ellipsis, -.part_compact_titles .yt-shelf-grid-item .yt-ui-ellipsis{ - display: inherit !important; - margin-right: initial !important; - white-space: nowrap !important; -} + .part_compact_titles .feed-item-container .yt-ui-ellipsis, + .part_compact_titles .yt-shelf-grid-item .yt-ui-ellipsis{ + display: inherit !important; + margin-right: initial !important; + white-space: nowrap !important; + } /* end| Compact thumbnail titles */ /* start| Floater player */ -@media screen and (min-width: 657px){ - html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen){ - box-shadow: 0 0 10px rgb(0, 0, 0) !important; - position: fixed !important; - z-index: 10; + @media screen and (min-width: 657px){ + html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen){ + box-shadow: 0 0 10px rgb(0, 0, 0) !important; + position: fixed !important; + z-index: 10; + } + html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen) .ytp-next-button, + html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen) .ytp-size-button{ + display: none !important; + } + .floater:not(.part_fullbrowser) #player-api #movie_player:not(.ytp-fullscreen):hover #part_floaterui{ + opacity: 1; + pointer-events: initial; + } } - html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen) .ytp-next-button, - html.floater:not(.part_fullbrowser) #player #player-api #movie_player:not(.ytp-fullscreen) .ytp-size-button{ - display: none !important; + #part_floaterui{ + font-size: 0; + height: 0; + opacity: 0; + position: absolute; + text-align: center; + top: 0; + transition: opacity .25s cubic-bezier(0, 0, .2, 1); + width: 100%; + z-index: 1000; + pointer-events: none; + } + #part_floaterui:after{ + box-shadow: inset 0 120px 90px -90px rgba(8, 8, 8, .8); + content: ''; + height: 120px; + left: 0; + pointer-events: none; + position: absolute; + width: 100%; + z-index: -1; + } + #part_floaterui > button{ + cursor: pointer; + height: 22px; + margin: 5px; + width: 22px; + } + #part_floaterui svg{ + fill: #fff; + width: 20px; + } + #part_floaterui_move{ + position: absolute; + left: 0; + } + #part_floaterui_move svg{ + width: 20px; + } + #part_floaterui_scrolltop{ + position: absolute; + right: 0; } - .floater:not(.part_fullbrowser) #player-api #movie_player:not(.ytp-fullscreen):hover #part_floaterui{ - opacity: 1; - pointer-events: initial; - } -} -#part_floaterui{ - font-size: 0; - height: 0; - opacity: 0; - position: absolute; - text-align: center; - top: 0; - transition: opacity .25s cubic-bezier(0, 0, .2, 1); - width: 100%; - z-index: 1000; - pointer-events: none; -} -#part_floaterui:after{ - box-shadow: inset 0 120px 90px -90px rgba(8, 8, 8, .8); - content: ''; - height: 120px; - left: 0; - pointer-events: none; - position: absolute; - width: 100%; - z-index: -1; -} -#part_floaterui > button{ - cursor: pointer; - height: 22px; - margin: 5px; - width: 22px; -} -#part_floaterui svg{ - fill: #fff; - width: 20px; -} -#part_floaterui_move{ - position: absolute; - left: 0; -} -#part_floaterui_move svg{ - width: 20px; -} -#part_floaterui_scrolltop{ - position: absolute; - right: 0; -} /* end| Floater player */ /* start| Labelless video buttons */ -.part_labelless_buttons #watch8-secondary-actions{ - left: 0 !important; -} -.part_labelless_buttons #watch8-secondary-actions .yt-uix-button-content{ - display: none; -} -.part_labelless_buttons #watch8-secondary-actions button{ - padding: 0; -} + .part_labelless_buttons #watch8-secondary-actions{ + left: 0 !important; + } + .part_labelless_buttons #watch8-secondary-actions .yt-uix-button-content{ + display: none; + } + .part_labelless_buttons #watch8-secondary-actions button{ + padding: 0; + } /* end| Labelless video buttons */ /* start| Hide comments */ -.part_hide_comments #watch-discussion:not(.show){ - height: 0; - margin-bottom: 0; - margin-top: 0; - opacity: 0; - overflow: hidden; - padding-bottom: 0; - padding-top: 0; -} -@media screen and (max-width: 656px){ - .part_hide_comments #P-show-comments{ - display: none; + .part_hide_comments #watch-discussion:not(.show){ + height: 0; + margin-bottom: 0; + margin-top: 0; + opacity: 0; + overflow: hidden; + padding-bottom: 0; + padding-top: 0; + } + @media screen and (max-width: 656px){ + .part_hide_comments #P-show-comments{ + display: none; + } + } + .part_hide_comments #P-show-comments button{ + border-top: none; + padding-top: 2px; } -} -.part_hide_comments #P-show-comments button{ - border-top: none; - padding-top: 2px; -} /* end| Hide comments */ /* start| Custom styles */ -#body #uploaded-videos{ - color: #666; - display: initial; - font-size: 11px; - font-weight: initial; - overflow: initial; - vertical-align: initial; -} -.yt-user-info > span{ - color: #666; - font-size: 11px; -} -.invisible{ - display: none; -} -#subscription-playlist-icon{ - margin-left: 0; - position: absolute; -} -#subscription-playlist{ - width: 0; - height: 0 !important; - padding: 20px 15px !important; -} -#subscription-playlist:hover{ - padding: 17px 15px !important; -} -#subscription-playlist:hover svg{ - opacity: 1; -} -#subscription-playlist svg{ - opacity: .4; - width:14px; - height: 16px; - display:block; - pointer-events:none; - transform: translate(-50%, -50%); -} -#blacklist-import, -#blacklist-export{ - margin-top: 10px; -} -#blacklist a{ - font-weight: normal !important; -} -#blacklist a:not(:hover){ - color: #666666; - opacity: 1; -} -.pl-autoplay, -.pl-reverse{ - fill: #fff; - display: none; - pointer-events: none; -} -.pl-reverse{ - width: 16px; -} -.pl-autoplay{ - width: 14px; -} -#watch-appbar-playlist .yt-uix-button-icon-watch-appbar-reverse-video-list .pl-reverse, -#watch-appbar-playlist .yt-uix-button-icon-watch-appbar-autoplay-video-list .pl-autoplay{ - display: block; - transform: translate(-50%,-50%); -} -#watch-appbar-playlist .yt-uix-button-icon-watch-appbar-reverse-video-list, -#watch-appbar-playlist .yt-uix-button-icon-watch-appbar-autoplay-video-list{ - font-size: 0 !important; - width: 0; - height: 0; - padding: 11px !important; - border: 0; -} + #body #uploaded-videos{ + color: #666; + display: initial; + font-size: 11px; + font-weight: initial; + overflow: initial; + vertical-align: initial; + } + .yt-user-info > span{ + color: #666; + font-size: 11px; + } + .invisible{ + display: none; + } + #subscription-playlist-icon{ + margin-left: 0; + position: absolute; + } + #subscription-playlist{ + width: 0; + height: 0 !important; + padding: 20px 15px !important; + } + #subscription-playlist:hover{ + padding: 17px 15px !important; + } + #subscription-playlist:hover svg{ + opacity: 1; + } + #subscription-playlist svg{ + opacity: .4; + width:14px; + height: 16px; + display:block; + pointer-events:none; + transform: translate(-50%, -50%); + } + #blacklist-import, + #blacklist-export{ + margin-top: 10px; + } + #blacklist a{ + font-weight: normal !important; + } + #blacklist a:not(:hover){ + color: #666666; + opacity: 1; + } + .pl-autoplay, + .pl-reverse{ + fill: #fff; + display: none; + pointer-events: none; + } + .pl-reverse{ + width: 16px; + } + .pl-autoplay{ + width: 14px; + } + #watch-appbar-playlist .yt-uix-button-icon-watch-appbar-reverse-video-list .pl-reverse, + #watch-appbar-playlist .yt-uix-button-icon-watch-appbar-autoplay-video-list .pl-autoplay{ + display: block; + transform: translate(-50%,-50%); + } + #watch-appbar-playlist .yt-uix-button-icon-watch-appbar-reverse-video-list, + #watch-appbar-playlist .yt-uix-button-icon-watch-appbar-autoplay-video-list{ + font-size: 0 !important; + width: 0; + height: 0; + padding: 11px !important; + border: 0; + } /* end| Custom styles */ /* start| Player console */ -#watch-header{ - position: relative; -} -.part_fullbrowser #player-api div#movie_player.playing-mode, -.part_fullbrowser #player-api div#movie_player.paused-mode{ - bottom: 0 !important; - left: 0 !important; - position: fixed !important; - right: 0 !important; - top: 0 !important; - height: 100% !important; - width: 100% !important; -} -.part_fullbrowser body{ - overflow: hidden; -} -.part_fullbrowser #masthead-positioner{ - z-index: initial; -} -#advanced-options{ - background: inherit; - min-height: 20px; - min-width: 25px; - position: absolute; - right: 0; - top: 0; -} -.part_fullbrowser #advanced-options{ - z-index: initial; -} -#console-button{ - cursor: pointer; - height: 20px; - opacity: .5; - position: absolute; - top: 0; - right: 0; - z-index: 1; - width: 20px; -} -#console-button:hover{ - opacity: .8; -} -#console-button.close .open, -#console-button:not(.close) .close{ - display: none; -} -#console-button svg{ - height: 10px; - pointer-events: none; -} -#player-console{ - background: inherit; - display: none; - font-size: 0; - position: relative; - right: 2px; - top: 17px; - text-align: center; -} -.player-console #player-console{ - display: block; -} -#player-console > div{ - width: 0 !important; - height: 0 !important; - cursor: pointer; - height: 30px; - opacity: .4; - padding: 0 4px; - position: relative; -} -#player-console > div svg{ - transform: translate(-50%,-50%); - pointer-events: none; - display:block; -} -#player-console:before{ - background: inherit; - content: ''; - height: 100%; - position: absolute; - width: 100%; -} -#player-console > div.active{ - opacity: .8 !important; -} -#player-console > div:hover{ - opacity: .6; -} -#autoplay-button{ - padding: 15px 10px !important; -} -#autoplay-button svg{ - height: 16px; -} -#save-thumbnail-button{ - padding: 15px 16px !important; -} -#save-thumbnail-button svg{ - height: 18px; -} -#screenshot-button{ - padding: 15px !important; -} -#screenshot-button svg{ - height: 18px; -} -#popout-button{ - padding: 15px !important; -} -#popout-button svg{ - height: 16px; -} -#loop-button{ - padding: 15px 14.25px !important; -} -#loop-button svg{ - height: 18px; -} -#fullbrowser-button{ - padding: 15px 14px !important; -} -#fullbrowser-button svg{ - height: 18px; -} -#cinemamode-button{ - padding: 15px 14px !important; -} -#cinemamode-button svg{ - height: 18px; -} -#framestep-button{ - padding: 15px 14px !important; -} -#framestep-button svg{ - height: 20px; -} -#shortcuts-button{ - padding: 15px 13px !important; -} -#shortcuts-button svg{ - height: 18px; -} + #watch-header{ + position: relative; + } + .part_fullbrowser #player-api div#movie_player.playing-mode, + .part_fullbrowser #player-api div#movie_player.paused-mode{ + bottom: 0 !important; + left: 0 !important; + position: fixed !important; + right: 0 !important; + top: 0 !important; + height: 100% !important; + width: 100% !important; + } + .part_fullbrowser body{ + overflow: hidden; + } + .part_fullbrowser #masthead-positioner{ + z-index: initial; + } + #advanced-options{ + background: inherit; + min-height: 20px; + min-width: 25px; + position: absolute; + right: 0; + top: 0; + } + .part_fullbrowser #advanced-options{ + z-index: initial; + } + #console-button{ + cursor: pointer; + height: 20px; + opacity: .5; + position: absolute; + top: 0; + right: 0; + z-index: 1; + width: 20px; + } + #console-button:hover{ + opacity: .8; + } + #console-button.close .open, + #console-button:not(.close) .close{ + display: none; + } + #console-button svg{ + height: 10px; + pointer-events: none; + } + #player-console{ + background: inherit; + display: none; + font-size: 0; + position: relative; + right: 2px; + top: 17px; + text-align: center; + } + .player-console #player-console{ + display: block; + } + #player-console > div{ + width: 0 !important; + height: 0 !important; + cursor: pointer; + height: 30px; + opacity: .4; + padding: 0 4px; + position: relative; + } + #player-console > div svg{ + transform: translate(-50%,-50%); + pointer-events: none; + display:block; + } + #player-console:before{ + background: inherit; + content: ''; + height: 100%; + position: absolute; + width: 100%; + } + #player-console > div.active{ + opacity: .8 !important; + } + #player-console > div:hover{ + opacity: .6; + } + #autoplay-button{ + padding: 15px 10px !important; + } + #autoplay-button svg{ + height: 16px; + } + #save-thumbnail-button{ + padding: 15px 16px !important; + } + #save-thumbnail-button svg{ + height: 18px; + } + #screenshot-button{ + padding: 15px !important; + } + #screenshot-button svg{ + height: 18px; + } + #popout-button{ + padding: 15px !important; + } + #popout-button svg{ + height: 16px; + } + #loop-button{ + padding: 15px 14.25px !important; + } + #loop-button svg{ + height: 18px; + } + #fullbrowser-button{ + padding: 15px 14px !important; + } + #fullbrowser-button svg{ + height: 18px; + } + #cinemamode-button{ + padding: 15px 14px !important; + } + #cinemamode-button svg{ + height: 18px; + } + #framestep-button{ + padding: 15px 14px !important; + } + #framestep-button svg{ + height: 20px; + } + #shortcuts-button{ + padding: 15px 13px !important; + } + #shortcuts-button svg{ + height: 18px; + } /* end| Player console */ /* start| Screenshot window */ -#screenshot-result{ - bottom: 15px; - box-shadow: 0 0 15px #000000; - font-size: 0; - margin: 5px; - max-height: calc(100% - 90px); - max-width: 420px; - overflow: hidden; - position: fixed; - right: 15px; - width: 30%; - z-index: 1000; -} -#screenshot-result > canvas{ - width: 100%; -} -#close-screenshot{ - background: rgba(0, 0, 0, .5); - border-top-left-radius: 5px; - color: #F1F1F1; - cursor: pointer; - font-size: 10px; - padding: 5px; - position: absolute; - right: 0; - text-transform: uppercase; - bottom: 0; -} -#close-screenshot:hover{ - background: rgba(0, 0, 0, .8); -} + #screenshot-result{ + bottom: 15px; + box-shadow: 0 0 15px #000000; + font-size: 0; + margin: 5px; + max-height: calc(100% - 90px); + max-width: 420px; + overflow: hidden; + position: fixed; + right: 15px; + width: 30%; + z-index: 1000; + } + #screenshot-result > canvas{ + width: 100%; + } + #close-screenshot{ + background: rgba(0, 0, 0, .5); + border-top-left-radius: 5px; + color: #F1F1F1; + cursor: pointer; + font-size: 10px; + padding: 5px; + position: absolute; + right: 0; + text-transform: uppercase; + bottom: 0; + } + #close-screenshot:hover{ + background: rgba(0, 0, 0, .8); + } /* end| Screenshot window */ /* start| Pop-out */ -.part_popout{ - overflow: hidden; -} -.part_popout #masthead-positioner, -.part_popout #masthead-positioner-height-offset, -.part_popout .ytp-size-button{ - display: none; -} -.part_popout #player-api, -.part_popout #player-api #movie_player{ - position: fixed !important; - bottom: 0 !important; - left: 0 !important; - top: 0 !important; - right: 0 !important; -} -.part_popout .ytp-hide-info-bar .ytp-chrome-top, -.part_popout .ytp-hide-info-bar .ytp-gradient-top{ - display: initial; -} + .part_popout{ + overflow: hidden; + } + .part_popout #masthead-positioner, + .part_popout #masthead-positioner-height-offset, + .part_popout .ytp-size-button{ + display: none; + } + .part_popout #player-api, + .part_popout #player-api #movie_player{ + position: fixed !important; + bottom: 0 !important; + left: 0 !important; + top: 0 !important; + right: 0 !important; + } + .part_popout .ytp-hide-info-bar .ytp-chrome-top, + .part_popout .ytp-hide-info-bar .ytp-gradient-top{ + display: initial; + } /* end| Pop-out */ /* start| Thumb buttons */ -.yt-lockup-thumbnail{ - overflow: hidden; -} -.yt-pl-thumb .popoutmode, -.thumb-wrapper .popoutmode, -.yt-lockup-thumbnail .popoutmode, -.yt-pl-thumb .blacklist, -.thumb-wrapper .blacklist, -.yt-lockup-thumbnail .blacklist{ - background-color: #FFF; - border: 1px solid #d3d3d3; - border-radius: 2px; - color: #666; - cursor: pointer; - line-height: 1; - position: absolute; - z-index: 99; - width:0; - height:0; - padding:10px; -} -.yt-pl-thumb .popoutmode, -.thumb-wrapper .popoutmode, -.yt-lockup-thumbnail .popoutmode{ - bottom: -100%; - left: -100%; -} -.yt-pl-thumb:hover .popoutmode, -.thumb-wrapper:hover .popoutmode, -.yt-lockup-thumbnail:hover .popoutmode{ - bottom: 2px; - left: 2px; -} -.yt-pl-thumb .blacklist, -.thumb-wrapper .blacklist, -.yt-lockup-thumbnail .blacklist{ - right: -100%; - top: -100%; -} -.yt-pl-thumb:hover .blacklist, -.thumb-wrapper:hover .blacklist, -.yt-lockup-thumbnail:hover .blacklist{ - right: 2px; - top: 2px; -} -.thumb-svg{ - width: 10px; - transform: translate(-50%,-50%); - pointer-events:none; - fill:#666; -} + .yt-lockup-thumbnail{ + overflow: hidden; + } + .yt-pl-thumb .popoutmode, + .thumb-wrapper .popoutmode, + .yt-lockup-thumbnail .popoutmode, + .yt-pl-thumb .blacklist, + .thumb-wrapper .blacklist, + .yt-lockup-thumbnail .blacklist{ + background-color: #FFF; + border: 1px solid #d3d3d3; + border-radius: 2px; + color: #666; + cursor: pointer; + line-height: 1; + position: absolute; + z-index: 99; + width:0; + height:0; + padding:10px; + } + .yt-pl-thumb .popoutmode, + .thumb-wrapper .popoutmode, + .yt-lockup-thumbnail .popoutmode{ + bottom: -100%; + left: -100%; + } + .yt-pl-thumb:hover .popoutmode, + .thumb-wrapper:hover .popoutmode, + .yt-lockup-thumbnail:hover .popoutmode{ + bottom: 2px; + left: 2px; + } + .yt-pl-thumb .blacklist, + .thumb-wrapper .blacklist, + .yt-lockup-thumbnail .blacklist{ + right: -100%; + top: -100%; + } + .yt-pl-thumb:hover .blacklist, + .thumb-wrapper:hover .blacklist, + .yt-lockup-thumbnail:hover .blacklist{ + right: 2px; + top: 2px; + } + .thumb-svg{ + width: 10px; + transform: translate(-50%,-50%); + pointer-events:none; + fill:#666; + } /* end| Thumb buttons */ /* start| Grid layout */ -.part_grid_subs #browse-items-primary .item-section > li > .yt-lockup-tile, -.part_grid_subs #browse-items-primary .item-section > li > .multirow-shelf, -.part_grid_subs .browse-list-item-container.feed-item-container.branded-page-box, -.part_grid_subs .compact-shelf.branded-page-box, -.part_grid_subs .c4-featured-content.branded-page-box{ - width: initial; -} -.part_grid_subs .feed-item-container .branded-page-module-title, -.part_grid_subs .feed-item-container .yt-lockup-description, -.part_grid_search #results .yt-lockup-description{ - display: none !important; - height: 0 !important; -} -.part_grid_subs div#browse-items-primary{ - font-size: 0; - margin-right: -15px; - padding: 15px; - padding-right: 0; -} -.part_grid_subs div#browse-items-primary .expanded-shelf-content-item, -.part_grid_subs div#browse-items-primary .section-list > li, -.part_grid_search #results .item-section > li{ - display: inline-block; - vertical-align: top; -} -.part_grid_search .exp-search-big-thumbs246 .search #content{ - max-width: 1054px !important; - font-size: 0; -} -.part_grid_subs div#browse-items-primary .item-section .feed-item-container, -.part_grid_search #results .item-section > li .yt-lockup{ - border: initial; - padding: initial; - margin-right: 10px; - margin-bottom: 12px; - width: 196px; -} -.part_grid_search .exp-search-big-thumbs246 #results .item-section > li .yt-lockup{ - width: 246px; -} -.part_grid_subs div#browse-items-primary .item-section .feed-item-container .menu-container{ - display: none; -} -.part_grid_subs div#browse-items-primary .item-section .feed-item-container:hover .menu-container{ - opacity: 1; -} -.part_grid_subs .shelf-item .shelf-title-table{ - position: absolute; - top: 110px; - z-index: 1; -} -.part_grid_subs .shelf-title-table ul, -.part_grid_subs .shelf-title-table iframe{ - left: initial !important; - right: 20px !important; -} -.part_grid_subs div#browse-items-primary .yt-lockup-thumbnail, -.part_grid_search #results .yt-lockup-thumbnail{ - float: initial !important; - margin-bottom: 4px; - margin-right: initial; -} -.part_grid_subs div#browse-items-primary .yt-lockup-meta, -.part_grid_subs div#browse-items-primary .yt-lockup-byline, -.part_grid_search #results .yt-lockup-meta{ - font-size: 11px; - max-width: 196px; -} -.part_grid_subs div#browse-items-primary .yt-lockup-title, -.part_grid_subs div#browse-items-primary .feed-item-dismissal, -.part_grid_search #results .yt-lockup-title{ - font-size: 13px; - margin: 4px 0 1px 0; - max-width: 176px; -} -.part_grid_search #results .exploratory-section, -.part_grid_search #results .compact-shelf{ - display: none; -} -.part_grid_search.part_compact_titles #results .yt-lockup-title a{ - white-space: nowrap; -} -.part_grid_subs .yt-lockup-meta-info > li, -.part_grid_search .yt-lockup-meta-info > li{ - display: inline; -} -.part_grid_subs .yt-lockup-content, -.part_grid_search .yt-lockup-content{ - margin-right: 10px; -} -.part_grid_search #results .item-section{ - float: left; - padding: 15px; -} -.part_grid_search .search .branded-page-v2-body{ - overflow: hidden; -} -.part_grid_search .webkit #results .yt-ui-ellipsis{ - display: block; -} -.part_grid_subs .yt-uix-menu-container.yt-lockup-action-menu, -.part_grid_search #results .yt-uix-menu-container.yt-lockup-action-menu{ - right: -8px; -} + .part_grid_subs #browse-items-primary .item-section > li > .yt-lockup-tile, + .part_grid_subs #browse-items-primary .item-section > li > .multirow-shelf, + .part_grid_subs .browse-list-item-container.feed-item-container.branded-page-box, + .part_grid_subs .compact-shelf.branded-page-box, + .part_grid_subs .c4-featured-content.branded-page-box{ + width: initial; + } + .part_grid_subs .feed-item-container .branded-page-module-title, + .part_grid_subs .feed-item-container .yt-lockup-description, + .part_grid_search #results .yt-lockup-description{ + display: none !important; + height: 0 !important; + } + .part_grid_subs div#browse-items-primary{ + font-size: 0; + margin-right: -15px; + padding: 15px; + padding-right: 0; + } + .part_grid_subs div#browse-items-primary .expanded-shelf-content-item, + .part_grid_subs div#browse-items-primary .section-list > li, + .part_grid_search #results .item-section > li{ + display: inline-block; + vertical-align: top; + } + .part_grid_search .exp-search-big-thumbs246 .search #content{ + max-width: 1054px !important; + font-size: 0; + } + .part_grid_subs div#browse-items-primary .item-section .feed-item-container, + .part_grid_search #results .item-section > li .yt-lockup, + .part_grid_search #results .item-section > li .spell-correction{ + border: initial; + padding: initial; + margin-right: 10px; + margin-bottom: 12px; + width: 196px; + } + .part_grid_search .exp-search-big-thumbs246 #results .item-section > li .yt-lockup, + .part_grid_search .exp-search-big-thumbs246 #results .item-section > li .spell-correction{ + width: 246px; + } + .part_grid_subs div#browse-items-primary .item-section .feed-item-container .menu-container{ + display: none; + } + .part_grid_subs div#browse-items-primary .item-section .feed-item-container:hover .menu-container{ + opacity: 1; + } + .part_grid_subs .shelf-item .shelf-title-table{ + position: absolute; + top: 110px; + z-index: 1; + } + .part_grid_subs .shelf-title-table ul, + .part_grid_subs .shelf-title-table iframe{ + left: initial !important; + right: 20px !important; + } + .part_grid_subs div#browse-items-primary .yt-lockup-thumbnail, + .part_grid_search #results .yt-lockup-thumbnail{ + float: initial !important; + margin-bottom: 4px; + margin-right: initial; + } + .part_grid_subs div#browse-items-primary .yt-lockup-meta, + .part_grid_subs div#browse-items-primary .yt-lockup-byline, + .part_grid_search #results .yt-lockup-meta{ + font-size: 11px; + max-width: 196px; + } + .part_grid_subs div#browse-items-primary .yt-lockup-title, + .part_grid_subs div#browse-items-primary .feed-item-dismissal, + .part_grid_search #results .yt-lockup-title{ + font-size: 13px; + margin: 4px 0 1px 0; + max-width: 176px; + } + .part_grid_search #results .exploratory-section, + .part_grid_search #results .compact-shelf{ + display: none; + } + .part_grid_search.part_compact_titles #results .yt-lockup-title a{ + white-space: nowrap; + } + .part_grid_subs .yt-lockup-meta-info > li, + .part_grid_search .yt-lockup-meta-info > li{ + display: inline; + } + .part_grid_subs .yt-lockup-content, + .part_grid_search .yt-lockup-content{ + margin-right: 10px; + } + .part_grid_search #results .item-section{ + float: left; + padding: 15px; + } + .part_grid_search .search .branded-page-v2-body{ + overflow: hidden; + } + .part_grid_search .webkit #results .yt-ui-ellipsis{ + display: block; + } + .part_grid_subs .yt-uix-menu-container.yt-lockup-action-menu, + .part_grid_search #results .yt-uix-menu-container.yt-lockup-action-menu{ + right: -8px; + } /* end| Grid layout */ /* start| Enhancements */ -:focus{ - box-shadow: initial !important; - outline: none; -} -:-moz-focus-inner{ - border: 0; -} -.signin-container{ - margin-right: 10px; -} -#body-container{ - position: relative; -} -.branded-page-related-channels-item .yt-close{ - z-index: 1; -} -.show-guide #appbar-guide-menu{ - border-bottom: 1px solid #E8E8E8; - border-right: 1px solid #E8E8E8; - box-shadow: none; -} -.search #content{ - max-width: 1003px; - width: initial; -} -#footer-container{ - max-width: initial; -} -#page.watch .content-alignment, -.watch.watch-non-stage-mode #player.content-alignment, -.yt-base-gutter, -.watch #content.content-alignment, -.watch.watch-non-stage-mode #player.content-alignment, -.watch.watch-stage-mode #player-playlist.watch-player-playlist{ - min-width: 0 !important; -} -html:not(.part_autoplayon) .ytp-thumbnail-overlay, -html:not(.part_autoplayon) .ytp-large-play-button{ - transition: none !important; -} -body:not(.page-loaded) #player-api #movie_player .ytp-thumbnail-overlay { - display: none; -} -#placeholder-player .player-api { - background-color: transparent !important; -} -#watch-appbar-playlist{ - transition: none !important; -} + :focus{ + box-shadow: initial !important; + outline: none; + } + :-moz-focus-inner{ + border: 0; + } + .signin-container{ + margin-right: 10px; + } + #body-container{ + position: relative; + } + .branded-page-related-channels-item .yt-close{ + z-index: 1; + } + .show-guide #appbar-guide-menu{ + border-bottom: 1px solid #E8E8E8; + border-right: 1px solid #E8E8E8; + box-shadow: none; + } + .search #content{ + max-width: 1003px; + width: initial; + } + #footer-container{ + max-width: initial; + } + #page.watch .content-alignment, + .watch.watch-non-stage-mode #player.content-alignment, + .yt-base-gutter, + .watch #content.content-alignment, + .watch.watch-non-stage-mode #player.content-alignment, + .watch.watch-stage-mode #player-playlist.watch-player-playlist{ + min-width: 0 !important; + } + html:not(.part_autoplayon) .ytp-thumbnail-overlay, + html:not(.part_autoplayon) .ytp-large-play-button{ + transition: none !important; + } + body:not(.page-loaded) #player-api #movie_player .ytp-thumbnail-overlay { + display: none; + } + #placeholder-player .player-api { + background-color: transparent !important; + } + #watch-appbar-playlist{ + transition: none !important; + } /* end| Enhancements */ /* start| Improved notification button */ -.part_notif_button #appbar-main-guide-notification-container{ - top: 1px !important; - left: 100% !important; - opacity: 0; - visibility: hidden; -} -.part_notif_button #appbar-main-guide-notification-container .appbar-guide-notification{ - height: 27px !important; -} -.part_notif_button .show-guide-button-notification #appbar-main-guide-notification-container{ - visibility: visible; - opacity: 1; -} -.part_notif_button #appbar-main-guide-notification-container{ - transition: visibility .3s linear .1s, opacity .3s linear .1s; -} -.part_notif_button #appbar-guide-button-notification-check{ - display: none !important; -} -.part_notif_button .show-guide-button-notification #appbar-guide-button{ - opacity: 1 !important; -} -/* end| Improved notification button */ -/* start| Static normal mode */ -@media screen and (min-width: 657px){ - .part_static_size .watch:not(.watch-stage-mode) .player-width, - .part_static_size .watch:not(.watch-stage-mode) #watch7-content{ - width: 640px; + .part_notif_button #appbar-main-guide-notification-container{ + top: 1px !important; + left: 100% !important; + opacity: 0; + visibility: hidden; } - .part_static_size .watch:not(.watch-stage-mode) .player-height{ - height: 390px; + .part_notif_button #appbar-main-guide-notification-container .appbar-guide-notification{ + height: 27px !important; } - .part_static_size .watch:not(.watch-stage-mode) .player-height{ - height: 360px; + .part_notif_button .show-guide-button-notification #appbar-main-guide-notification-container{ + visibility: visible; + opacity: 1; } - .part_static_size .watch:not(.watch-stage-mode) #watch7-sidebar{ - margin-left: 650px; - top: 0; + .part_notif_button #appbar-main-guide-notification-container{ + transition: visibility .3s linear .1s, opacity .3s linear .1s; } - .part_static_size .watch:not(.watch-stage-mode) #content.content-alignment, - .part_static_size .watch:not(.watch-stage-mode) #player.content-alignment{ - max-width: 1066px; + .part_notif_button #appbar-guide-button-notification-check{ + display: none !important; } - .part_static_size .watch:not(.watch-stage-mode) #watch-appbar-playlist{ - left: 650px; + .part_notif_button .show-guide-button-notification #appbar-guide-button{ + opacity: 1 !important; + } +/* end| Improved notification button */ +/* start| Static normal mode */ + @media screen and (min-width: 657px){ + .part_static_size .watch:not(.watch-stage-mode) .player-width, + .part_static_size .watch:not(.watch-stage-mode) #watch7-content{ + width: 640px; + } + .part_static_size .watch:not(.watch-stage-mode) .player-height{ + height: 390px; + } + .part_static_size .watch:not(.watch-stage-mode) .player-height{ + height: 360px; + } + .part_static_size .watch:not(.watch-stage-mode) #watch7-sidebar{ + margin-left: 650px; + top: 0; + } + .part_static_size .watch:not(.watch-stage-mode) #content.content-alignment, + .part_static_size .watch:not(.watch-stage-mode) #player.content-alignment{ + max-width: 1066px; + } + .part_static_size .watch:not(.watch-stage-mode) #watch-appbar-playlist{ + left: 650px; + } } -} /* end| Static normal mode */ /* start| Cinema mode */ -#player-api:before, -#masthead-positioner:before{ - bottom: 0; - content: ''; - left: 0; - pointer-events: none; - position: fixed; - right: 0; - top: 0; - transition: background-color 1s; - transform: translateZ(0); - -webkit-transform: translateZ(0); -} -#masthead-positioner:before{ - z-index: 1; -} -.part_cinema_mode #player-api:before, -.part_cinema_mode #masthead-positioner:before{ - background-color: rgba(0, 0, 0, .9); -} + #player-api:before, + #masthead-positioner:before{ + bottom: 0; + content: ''; + left: 0; + pointer-events: none; + position: fixed; + right: 0; + top: 0; + transition: background-color 1s; + transform: translateZ(0); + -webkit-transform: translateZ(0); + } + #masthead-positioner:before{ + z-index: 1; + } + .part_cinema_mode #player-api:before, + .part_cinema_mode #masthead-positioner:before{ + background-color: rgba(0, 0, 0, .9); + } /* end| Cinema mode */ /* start| Particle settings */ -#P-settings{ - background: #f1f1f1; - height: 100%; - left: 0; - position: absolute; - right: 0; - z-index: 1000; -} -#P-settings + #page-container{ - display: none; -} -#P-settings input[type='checkbox'], -#P-settings input[type='radio']{ - opacity: 0; -} -#P-container{ - margin: 10px auto 0; - max-width: 1262px; -} -.guide-pinned.show-guide .guide-pinning-enabled #P-container{ - padding-left: 230px; -} -#P-sidebar, -#P-content{ - box-shadow: 0 1px 2px rgba(0, 0, 0, .1); - box-sizing: border-box; -} -#P-sidebar{ - background: #1e1e1e; - color: grey; - float: left; - width: 195px; - margin-right: 10px; - padding: 10px 0; -} -#P-sidebar-list > li{ - color: grey; - padding: 0 21px; - cursor: pointer; - font-size: 11px; - line-height: 24px; -} -#P-sidebar-list > li:hover{ - color: #1e1e1e; - background: #f6f6f6; -} -#P-sidebar-list > li.selected{ - color: #FFF; - font-weight: 500; - background-color: #CC181E; -} -#P-content{ - background: #FFF; - color: #666; - overflow: hidden; - padding-bottom: 40px; - padding-left: 15px; - position: relative; - margin-bottom: 10px; -} -#P-content h2{ - color: #333; - float: left; - font-size: 18px; - font-weight: 500; - line-height: 20px; -} -#P-content h3{ - color: #555; - font-size: 14px; - font-weight: 500; - margin: 30px 0 16px; -} -#P-content br{ - clear: both; -} -#P-content div{ - display: block; - line-height: 26px; - overflow: hidden; - position: relative; -} -#P-content div:first-child{ - overflow: initial; -} -#P-content div a{ - font-weight: 500; - opacity: 0; -} -#P-content div:hover a, -#P-content div a:not([title]){ - opacity: 1; -} -#P-content label{ - line-height: 26px; -} -#P-content label svg{ - width:12.7px; - margin-left:-23px; - fill:#666; - padding-right:12px; - height: 9.9px; - opacity: 0; -} -#P-content input:checked + label svg{ - opacity: 1; -} -#P-content input{ - display: none; - margin-left: 25px; -} -#P-content input + label{ - position: relative; - margin-left: 25px; -} -#P-content input + label:before{ - cursor: pointer; - border: 1px solid #c6c6c6; - content: ''; - left: -25px; - height: 14px; - position: absolute; - top: 5px; - width: 14px; -} -#P-content input:checked + label:before{ - border: 1px solid #36649c; -} -#P-content input[type='text']{ - position: relative; - display: initial; - margin-left: 5px; -} -#P-content input[type='text'] + label{ - float: left; - margin-left: 0; -} -#P-content input[type='text'] + label:before{ - display: none; -} -#P-content input[type='radio'] + label{ - display: inline-block; -} -#P-content input[type='radio'] + label:before{ - border-radius: 50%; - left: -20px; -} -#P-content input[type='checkbox'] + label{ - display: inline-block; -} -#P-content select{ - background-image: linear-gradient(#FCFCFC, #F8F8F8); - border: 1px solid #d3d3d3; - color: #333 !important; - cursor: pointer; - font-family: arial,sans-serif; - font-size: 11px; - font-weight: bold; - height: 26px; - margin-left: 5px; - padding: 0 2em 0 1em; - text-shadow: none; - -moz-appearance: none; - -webkit-appearance: none; -} -#P-content select option{ - padding: 0 1em; -} -.P-header{ - height: 20px; - margin: 0; - padding: 24px 0 0; -} -.P-save, -.P-reset, -.P-impexp, -.P-implang{ - background-color: #167AC6; - border-color: #167AC6; - border-radius: 2px; - box-shadow: 0 1px 0 rgba(0, 0, 0, .05); - color: #fff; - cursor: pointer; - display: inline-block; - float: right; - font-size: 11px; - font-weight: 500; - height: 28px; - line-height: normal; - margin-right: 20px; - margin-top: -5px; - outline: 0 none; - padding: 0 20px; - vertical-align: middle; - white-space: nowrap; - word-wrap: normal; -} -.P-impexp, -.P-implang{ - background-color: transparent; - border: 1px solid transparent; - box-shadow: none; - opacity: .5; - padding: 0 13px; -} -.P-implang{ - color: #666; - margin-right: 0; -} -.P-impexp:hover, -.P-implang:hover{ - opacity: 1; -} -.P-impexp{ - padding: 14px; - width: 0; - height: 0; -} -.P-impexp .save{ - height: 16px; - width: 16px; - pointer-events: none; - transform: translate(-50%, -50%); -} -.P-reset{ - background-color: #F8F8F8; - border: 1px solid #D3D3D3; - box-shadow: 0 1px 0 rgba(0, 0, 0, .05); - opacity: 1; - color: #333; -} -.P-reset:hover{ - background: #F0F0F0; - border-color: #C6C6C6; -} -.P-reset:active{ - background: #E9E9E9; -} -.P-save:hover{ - background: #126DB3; -} -.P-save:active{ - background: #095B99; -} -.P-horz{ - border-bottom: 0 none; - border-top: 1px solid #e2e2e2; - height: 0; - margin: 20px 0 0 -15px; - position: relative; -} -#P-settings select{ - color: transparent !important; - text-shadow: 0 0 0 #333; -} -#P-settings .P-select{ - display: inline; - position: relative; -} -#P-settings .P-select:after{ - content: ''; - border: 1px solid transparent; - border-width: 4px 4px 0; - border-top-color: #666; - pointer-events: none; - position: absolute; - right: 10px; - top: 50%; -} -#P-settings option{ - color: #000; - text-shadow: none; -} -#P::-moz-focus-inner, -#P-settings button::-moz-focus-inner{ - border: 0; - padding: 0; -} -#P-sidebar-list a{ - color: #808080; - display: block; - padding: 0 21px; - text-decoration: none; -} -#P-sidebar-list #HLP a:hover{ - color: #1E1E1E; -} -#exp-cont{ - background-color: #FFF; - bottom: 0; - position: absolute !important; - top: 80px; - width: calc(100% - 30px); -} -#DNT, -#HLP{ - padding: 0 !important; -} -#DNT{ - position: relative; -} -#DNT svg{ - position: absolute; - right: 10px; - top: 3px; - display: none; - height: 18px; -} -#DNT:hover svg{ - display: initial; -} -#DNT:hover a{ - color: #F1F1F1; -} -#DNT:hover{ - background: linear-gradient(to right, #167AC6 50%, #F6F6F6) !important; -} -#blacklist{ - margin: 10px 15px 0 0; -} -#blacklist-controls{ - margin-bottom: 10px; -} -#blacklist .blacklist{ - border: 1px solid #C6C6C6; - cursor: default; - display: inline-block; - max-width: 200px; - overflow: hidden !important; - padding: 0 10px; - position: relative; - text-overflow: ellipsis; - white-space: nowrap; -} -#blacklist .blacklist .close{ - background-color: #FFF; - border: 1px solid #C6C6C6; - border-left: none; - border-top: none; - color: #666; - cursor: pointer; - display: none; - position: absolute; - left: 0; - top: 0; - width: 0; - height: 0; - padding: 8px; - font-size: 0; -} -#blacklist .blacklist .close svg{ - width:10px; - transform:translate(-50%,-50%); - pointer-events:none; - fill:#666; -} -#blacklist .blacklist:hover .close{ - display: initial; -} -#blacklist-edit span, -#blacklist-save span, -#blacklist-close span{ - pointer-events: none; -} -#blacklist.edit .blacklist, -#blacklist.edit #blacklist-edit, -#blacklist:not(.edit) #blacklist-save, -#blacklist:not(.edit) #blacklist-close, -#blacklist:not(.edit) #blacklist-edit-list{ - display: none; -} -#blacklist-edit-list, -#impexp-list{ - font-family: Consolas, Lucida Console, monospace; - height: 200px; - width: calc(100% - 10px); -} -#impexp-save, -#implang-save{ - margin-bottom: 10px; -} -#impexp-save span, -#implang-save span{ - pointer-events: none; -} -#impexp-list{ - height: calc(100% - 80px); -} -#yt-masthead #P{ - cursor: pointer; -} -@media screen and (max-width: 656px){ + #P-settings{ + background: #f1f1f1; + height: 100%; + left: 0; + position: absolute; + right: 0; + z-index: 1000; + } + #P-settings + #page-container{ + display: none; + } + #P-settings input[type='checkbox'], + #P-settings input[type='radio']{ + opacity: 0; + } + #P-container{ + margin: 10px auto 0; + max-width: 1262px; + } + .guide-pinned.show-guide .guide-pinning-enabled #P-container{ + padding-left: 230px; + } + #P-sidebar, + #P-content{ + box-shadow: 0 1px 2px rgba(0, 0, 0, .1); + box-sizing: border-box; + } + #P-sidebar{ + background: #1e1e1e; + color: grey; + float: left; + width: 195px; + margin-right: 10px; + padding: 10px 0; + } + #P-sidebar-list > li{ + color: grey; + padding: 0 21px; + cursor: pointer; + font-size: 11px; + line-height: 24px; + } + #P-sidebar-list > li:hover{ + color: #1e1e1e; + background: #f6f6f6; + } + #P-sidebar-list > li.selected{ + color: #FFF; + font-weight: 500; + background-color: #CC181E; + } + #P-content{ + background: #FFF; + color: #666; + overflow: hidden; + padding-bottom: 40px; + padding-left: 15px; + position: relative; + margin-bottom: 10px; + } + #P-content h2{ + color: #333; + float: left; + font-size: 18px; + font-weight: 500; + line-height: 20px; + } + #P-content h3{ + color: #555; + font-size: 14px; + font-weight: 500; + margin: 30px 0 16px; + } + #P-content br{ + clear: both; + } + #P-content div{ + display: block; + line-height: 26px; + overflow: hidden; + position: relative; + } + #P-content div:first-child{ + overflow: initial; + } + #P-content div a{ + font-weight: 500; + opacity: 0; + } + #P-content div:hover a, + #P-content div a:not([title]){ + opacity: 1; + } + #P-content label{ + line-height: 26px; + } + #P-content label svg{ + width:12.7px; + margin-left:-23px; + fill:#666; + padding-right:12px; + height: 9.9px; + opacity: 0; + } + #P-content input:checked + label svg{ + opacity: 1; + } + #P-content input{ + display: none; + margin-left: 25px; + } + #P-content input + label{ + position: relative; + margin-left: 25px; + } + #P-content input + label:before{ + cursor: pointer; + border: 1px solid #c6c6c6; + content: ''; + left: -25px; + height: 14px; + position: absolute; + top: 5px; + width: 14px; + } + #P-content input:checked + label:before{ + border: 1px solid #36649c; + } + #P-content input[type='text']{ + position: relative; + display: initial; + margin-left: 5px; + } + #P-content input[type='text'] + label{ + float: left; + margin-left: 0; + } + #P-content input[type='text'] + label:before{ + display: none; + } + #P-content input[type='radio'] + label{ + display: inline-block; + } + #P-content input[type='radio'] + label:before{ + border-radius: 50%; + left: -20px; + } + #P-content input[type='checkbox'] + label{ + display: inline-block; + } + #P-content select{ + background-image: linear-gradient(#FCFCFC, #F8F8F8); + border: 1px solid #d3d3d3; + color: #333 !important; + cursor: pointer; + font-family: arial,sans-serif; + font-size: 11px; + font-weight: bold; + height: 26px; + margin-left: 5px; + padding: 0 2em 0 1em; + text-shadow: none; + -moz-appearance: none; + -webkit-appearance: none; + } + #P-content select option{ + padding: 0 1em; + } + .P-header{ + height: 20px; + margin: 0; + padding: 24px 0 0; + } + .P-save, + .P-reset, + .P-impexp, + .P-implang{ + background-color: #167AC6; + border-color: #167AC6; + border-radius: 2px; + box-shadow: 0 1px 0 rgba(0, 0, 0, .05); + color: #fff; + cursor: pointer; + display: inline-block; + float: right; + font-size: 11px; + font-weight: 500; + height: 28px; + line-height: normal; + margin-right: 20px; + margin-top: -5px; + outline: 0 none; + padding: 0 20px; + vertical-align: middle; + white-space: nowrap; + word-wrap: normal; + } + .P-impexp, + .P-implang{ + background-color: transparent; + border: 1px solid transparent; + box-shadow: none; + opacity: .5; + padding: 0 13px; + } + .P-implang{ + color: #666; + margin-right: 0; + } + .P-impexp:hover, + .P-implang:hover{ + opacity: 1; + } + .P-impexp{ + padding: 14px; + width: 0; + height: 0; + } + .P-impexp .save{ + height: 16px; + width: 16px; + pointer-events: none; + transform: translate(-50%, -50%); + } + .P-reset{ + background-color: #F8F8F8; + border: 1px solid #D3D3D3; + box-shadow: 0 1px 0 rgba(0, 0, 0, .05); + opacity: 1; + color: #333; + } + .P-reset:hover{ + background: #F0F0F0; + border-color: #C6C6C6; + } + .P-reset:active{ + background: #E9E9E9; + } + .P-save:hover{ + background: #126DB3; + } + .P-save:active{ + background: #095B99; + } + .P-horz{ + border-bottom: 0 none; + border-top: 1px solid #e2e2e2; + height: 0; + margin: 20px 0 0 -15px; + position: relative; + } + #P-settings select{ + color: transparent !important; + text-shadow: 0 0 0 #333; + } + #P-settings .P-select{ + display: inline; + position: relative; + } + #P-settings .P-select:after{ + content: ''; + border: 1px solid transparent; + border-width: 4px 4px 0; + border-top-color: #666; + pointer-events: none; + position: absolute; + right: 10px; + top: 50%; + } + #P-settings option{ + color: #000; + text-shadow: none; + } + #P::-moz-focus-inner, + #P-settings button::-moz-focus-inner{ + border: 0; + padding: 0; + } + #P-sidebar-list a{ + color: #808080; + display: block; + padding: 0 21px; + text-decoration: none; + } + #P-sidebar-list #HLP a:hover{ + color: #1E1E1E; + } + #exp-cont{ + background-color: #FFF; + bottom: 0; + position: absolute !important; + top: 80px; + width: calc(100% - 30px); + } + #DNT, + #HLP{ + padding: 0 !important; + } + #DNT{ + position: relative; + } + #DNT svg{ + position: absolute; + right: 10px; + top: 3px; + display: none; + height: 18px; + } + #DNT:hover svg{ + display: initial; + } + #DNT:hover a{ + color: #F1F1F1; + } + #DNT:hover{ + background: linear-gradient(to right, #167AC6 50%, #F6F6F6) !important; + } + #blacklist{ + margin: 10px 15px 0 0; + } + #blacklist-controls{ + margin-bottom: 10px; + } + #blacklist .blacklist{ + border: 1px solid #C6C6C6; + cursor: default; + display: inline-block; + max-width: 200px; + overflow: hidden !important; + padding: 0 10px; + position: relative; + text-overflow: ellipsis; + white-space: nowrap; + } + #blacklist .blacklist .close{ + background-color: #FFF; + border: 1px solid #C6C6C6; + border-left: none; + border-top: none; + color: #666; + cursor: pointer; + display: none; + position: absolute; + left: 0; + top: 0; + width: 0; + height: 0; + padding: 8px; + font-size: 0; + } + #blacklist .blacklist .close svg{ + width:10px; + transform:translate(-50%,-50%); + pointer-events:none; + fill:#666; + } + #blacklist .blacklist:hover .close{ + display: initial; + } + #blacklist-edit span, + #blacklist-save span, + #blacklist-close span{ + pointer-events: none; + } + #blacklist.edit .blacklist, + #blacklist.edit #blacklist-edit, + #blacklist:not(.edit) #blacklist-save, + #blacklist:not(.edit) #blacklist-close, + #blacklist:not(.edit) #blacklist-edit-list{ + display: none; + } + #blacklist-edit-list, + #impexp-list{ + font-family: Consolas, Lucida Console, monospace; + height: 200px; + width: calc(100% - 10px); + } + #impexp-save, + #implang-save{ + margin-bottom: 10px; + } + #impexp-save span, + #implang-save span{ + pointer-events: none; + } + #impexp-list{ + height: calc(100% - 80px); + } #yt-masthead #P{ + cursor: pointer; + } + @media screen and (max-width: 656px){ + #yt-masthead #P{ + display: none; + } + } + #yt-masthead #P:hover{ + opacity: .85 !important; + } + #P svg{ + vertical-align: middle; + height:20px; + pointer-events: none; + } + #Psettings{ + display:inline-block; + position:relative + } + .P-hide{ display: none; } -} -#yt-masthead #P:hover{ - opacity: .85 !important; -} -#P svg{ - vertical-align: middle; - height:20px; - pointer-events: none; -} -#Psettings{ - display:inline-block; - position:relative -} -.P-hide{ - display: none; -} /* end| Particle settings */ /* start| Particle welcome */ -#part_welcome{ - background:#09F; - border-radius:2px; - max-width:220px; - position:absolute; - z-index:1; - color:#FFF; - padding:10px; - top:45px; - margin-left:-140px; - box-shadow:0 0 3px rgba(0,0,0,0.5); -} -#part_welcome:after{ - content:""; - display:block; - width:0; - height:0; - border-left:10px solid transparent; - border-right:10px solid transparent; - border-bottom:10px solid #09F; - top:-10px; - position:absolute; - right:10px; -} -.par_closewlcm{ - position:relative; - font-size:21px; - text-align:right; - line-height:14px; -} -.par_closewlcm > span{ - cursor:default; - opacity:.5; -} -.par_closewlcm > span:hover{ - opacity:1; -} + #part_welcome{ + background:#09F; + border-radius:2px; + max-width:220px; + position:absolute; + z-index:1; + color:#FFF; + padding:10px; + top:45px; + margin-left:-140px; + box-shadow:0 0 3px rgba(0,0,0,0.5); + } + #part_welcome:after{ + content:""; + display:block; + width:0; + height:0; + border-left:10px solid transparent; + border-right:10px solid transparent; + border-bottom:10px solid #09F; + top:-10px; + position:absolute; + right:10px; + } + .par_closewlcm{ + position:relative; + font-size:21px; + text-align:right; + line-height:14px; + } + .par_closewlcm > span{ + cursor:default; + opacity:.5; + } + .par_closewlcm > span:hover{ + opacity:1; + } /* end| Particle welcome */ \ No newline at end of file diff --git a/src/Webextension/JS/YouTubePlus.user.js b/src/Webextension/JS/YouTubePlus.user.js index e9d02f2..3fa833b 100644 --- a/src/Webextension/JS/YouTubePlus.user.js +++ b/src/Webextension/JS/YouTubePlus.user.js @@ -1,8 +1,10 @@ // ==UserScript== -// @version 1.7.9 +// @version 1.8.0 // @name YouTube + // @namespace https://github.com/ParticleCore // @description YouTube with more freedom +// @compatible chrome +// @compatible firefox // @icon https://raw.githubusercontent.com/ParticleCore/Particle/gh-pages/images/YT%2Bicon.png // @match *://www.youtube.com/* // @exclude *://www.youtube.com/tv* @@ -594,7 +596,7 @@ if (temp !== "player-api" && temp !== "upsell-video") { return original.apply(this, arguments); } - /*b = */modArgs(b); + modArgs(b); temp = original.apply(this, arguments); player = document.getElementById("movie_player"); if (player) { @@ -613,6 +615,9 @@ function modAutoplayFullscreen(original) { return function () { var has_ended, next_button, next_clicked; + if (!document.mozFullScreenElement && !document.webkitFullscreenElement) { + return original.apply(this, arguments); + } has_ended = api && api.getCurrentTime && Math.round(api.getCurrentTime()) >= Math.floor(api.getDuration()); next_clicked = document.activeElement.classList.contains("ytp-button-next") || document.activeElement.classList.contains("ytp-next-button"); if (!user_settings.plApl && !next_clicked && has_ended) { @@ -634,24 +639,16 @@ } function modPlayerCreate(original) { return function (a, b) { - var i, temp, player; + var temp, player; temp = a.id || a; if (temp !== "player-api" && temp !== "upsell-video") { return original.apply(this, arguments); } - /*b = */modArgs(b); + modArgs(b); if (a.id === "upsell-video") { original.apply(this, arguments); } else if (typeof a === "object") { player_instance = original.apply(this, arguments); - temp = Object.keys(player_instance); - i = temp.length; - while (i--) { - if (typeof player_instance[temp[i]] === "object" && player_instance[temp[i]] && player_instance[temp[i]].hasNext) { - player_instance[temp[i]].hasNext = modAutoplayFullscreen(player_instance[temp[i]].hasNext); - break; - } - } player = document.getElementById("movie_player"); if (user_settings.VID_PLR_FIT) { resizePlayer(); @@ -722,6 +719,12 @@ window.yt.player.Application.create = modPlayerCreate(window.yt.player.Application.create); if (window._yt_player) { temp = Object.keys(window._yt_player); + for (i = 0; i < temp.length; i++) { + if (typeof window._yt_player[temp[i]] === "function" && window._yt_player[temp[i]].prototype && window._yt_player[temp[i]].prototype.hasNext) { + window._yt_player[temp[i]].prototype.hasNext = modAutoplayFullscreen(window._yt_player[temp[i]].prototype.hasNext); + break; + } + } for (i = 0; i < temp.length; i++) { if (typeof window._yt_player[temp[i]] === "function" && window._yt_player[temp[i]].toString().match(/this\.adaptiveFormats/)) { key = temp[i]; @@ -1991,7 +1994,7 @@ function infiniteScroll() { var observer, loadMore; loadMore = document.querySelector(".load-more-button"); - if (loadMore && user_settings.GEN_INF_SCRL) { + if (window.location.pathname !== "/watch" && loadMore && user_settings.GEN_INF_SCRL) { if (!loadMore.classList.contains("infiniteScroll")) { loadMore.classList.add("infiniteScroll"); observer = new MutationObserver(infiniteScroll); @@ -2087,13 +2090,15 @@ } function isMaterial() { var temp; - temp = document.querySelector("ytd-app"); + temp = document.querySelector("ytd-app, [src*='polymer'],[href*='polymer']"); if (temp && !document.getElementById("material-notice")) { temp = document.createElement("template"); temp.innerHTML = // - `
+ `
YouTube Plus is not compatible with the YouTube beta Material Layout
- The development of YouTube Plus might end when this layout is officially launched, click here to read the announcement
+ Click here for instructions to restore classic YouTube and continue using YT+
+ The development of YT+ might end when this layout is launched permanently,
+ click here to read the announcement
To keep using the current layout without this message please disable YT+
`; document.documentElement.appendChild(temp.content.firstChild); @@ -2336,7 +2341,7 @@ holder = document.createElement("link"); holder.rel = "stylesheet"; holder.type = "text/css"; - holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.7.9"; + holder.href = "https://particlecore.github.io/Particle/stylesheets/YouTubePlus.css?v=1.8.0"; document.documentElement.appendChild(holder); } holder = document.createElement("script"); diff --git a/src/Webextension/_locales/en/messages.json b/src/Webextension/_locales/en/messages.json index 7f01692..d77725b 100644 --- a/src/Webextension/_locales/en/messages.json +++ b/src/Webextension/_locales/en/messages.json @@ -23,6 +23,10 @@ "message": "{\"YTSETS\":\"Options de Youtube+\",\"ADV_OPTS\":\"Options avancées\",\"SUB_PLST\":\"Lire les uploads récents\",\"BLCK_ADD\":\"Ajouter à la liste noire\",\"BLCK_EDIT\":\"Modifier\",\"BLCK_SAVE\":\"Enregistrer\",\"BLCK_CLSE\":\"Fermer\",\"CNSL_AP\":\"Lecture automatique\",\"CNSL_RPT\":\"Répéter la vidéo\",\"CNSL_SVTH\":\"Ouvrir la miniature\",\"CNSL_SS\":\"Prendre une capture d'écran\",\"CNSL_SS_CLS\":\"FERMER\",\"CNSL_FLBR\":\"Affichage page entière\",\"CNSL_CINM_MD\":\"Mode cinéma\",\"CNSL_FRME\":\"Image par image\",\"PLST_AP\":\"Lecture automatique\",\"PLST_RVRS\":\"Inverser\",\"SHOW_CMTS\":\"Afficher les commentaires\",\"HIDE_CMTS\":\"Masquer les commentaires\",\"GLB_IMPR\":\"Importer/exporter les réglages\",\"GLB_LOCL_LANG\":\"Cliquer pour modifier la langue de YT+\",\"GLB_LOCL_LANG_CSTM\":\"Local\",\"GLB_IMPR_SAVE\":\"Enregistrer et rafraîchir\",\"GLB_RSET\":\"Réinitialiser\",\"GLB_SVE\":\"Enregistrer\",\"GLB_SVE_SETS\":\"Options enregistrées\",\"FTR_DESC\":\"En savoir plus sur cette option\",\"GEN\":\"Général\",\"VID\":\"Vidéos\",\"CHN\":\"Chaînes\",\"BLK\":\"Liste noire\",\"ABT\":\"À propos\",\"HLP\":\"Aide\",\"DNT\":\"Soutenir YT+\",\"GEN_TTL\":\"Options générales\",\"GEN_GEN\":\"Général\",\"GEN_LYT\":\"Disposition\",\"GEN_LOCL_LANG\":\"Utiliser une langue modifiée dans YT+\",\"GEN_DSBL_ADS\":\"Désactiver les publicités en dehors des pages des vidéos\",\"GEN_INF_SCRL\":\"Activer le défilement sans fin des commentaires\",\"GEN_YT_LOGO_LINK\":\"Le logo Youtube redirige vers la page des abonnements\",\"GEN_SUB_LIST\":\"Activer la liste de lecture des abonnements\",\"GEN_REM_APUN\":\"Désactiver la lecture automatique de la vidéo suivante\",\"GEN_SPF_OFF\":\"Désactiver les SPF\",\"GEN_HIDE_FTR\":\"Masquer le bas de page\",\"GEN_BLUE_GLOW\":\"Retirer la lueur bleue sur les boutons cliqués\",\"GEN_HDE_RECM_SDBR\":\"Masquer la barre latérale des chaînes recommandées\",\"GEN_HDE_SRCH_SDBR\":\"Masquer la barre latérale des résultats\",\"GEN_HDE_CHN_SDBR\":\"Masquer la barre latérale de la chaîne\",\"GEN_CMPT_TTLS\":\"Titres compacts dans le fil vidéo\",\"GEN_DSB_HVRC\":\"Désactiver les vignettes au passage de la souris\",\"GEN_BTTR_NTF\":\"Icône de notification améliorée\",\"GEN_GRID_SUBS\":\"Disposition en grille des abonnements\",\"GEN_GRID_SRCH\":\"Disposition en grille des résultats de recherche\",\"VID_TTL\":\"Options vidéo\",\"VID_PLR\":\"Options du lecteur vidéo\",\"VID_PLR_LYT\":\"Disposition du lecteur vidéo\",\"VID_DFLT_QLTY\":\"Qualité vidéo par défaut :\",\"VID_DFLT_QLTY_AUTO\":\"Auto\",\"VID_DFLT_QLTY_TNY\":\"144p\",\"VID_DFLT_QLTY_SML\":\"240p\",\"VID_DFLT_QLTY_MDM\":\"360p\",\"VID_DFLT_QLTY_LRG\":\"480p\",\"VID_DFLT_QLTY_720\":\"720p\",\"VID_DFLT_QLTY_1080\":\"1080p\",\"VID_DFLT_QLTY_1440\":\"1440p\",\"VID_DFLT_QLTY_2160\":\"2160p (4k)\",\"VID_DFLT_QLTY_2880\":\"2880p (5k)\",\"VID_DFLT_QLTY_ORIG\":\"4320p (8k)\",\"VID_PLR_ALVIS\":\"Garder le lecteur à l'écran lors de la lecture de commentaires\",\"VID_PLR_ALVIS_RST\":\"Réinitialiser la position\",\"VID_PLR_ALVIS_SCRL_TOP\":\"Retour en haut\",\"VID_PLR_ATPL\":\"Lecture automatique des vidéos\",\"VID_LAYT\":\"Disposition\",\"VID_VID_CNT\":\"Afficher le nombre de vidéos en ligne à côté du lien\",\"VID_POST_TIME\":\"Afficher depuis combien de temps la vidéo est en ligne\",\"VID_HIDE_DETLS\":\"Masquer les détails de la vidéo\",\"VID_HIDE_COMS\":\"Section des commentaires\",\"VID_HIDE_COMS_SHOW\":\"Afficher\",\"VID_HIDE_COMS_HIDE\":\"Masquer\",\"VID_HIDE_COMS_REM\":\"Supprimer\",\"VID_END_SHRE\":\"Désactiver l'écran de partage à la fin d'une vidéo\",\"VID_PLST\":\"Listes de lecture\",\"VID_PLST_ATPL\":\"Afficher le bouton de lecture automatique des listes de lecture\",\"VID_PLST_RVRS\":\"Afficher le bouton d'inversion des listes de lecture\",\"VID_PLR_SIZE_MEM\":\"Mémoriser la disposition du lecteur\",\"VID_VOL_WHEEL\":\"Modifier le volume avec la molette\",\"VID_PLR_VOL_MEM\":\"Mémoriser le volume sonore\",\"VID_PLR_ADS\":\"Désactiver les publicités sur la page vidéo\",\"VID_PLR_ALACT\":\"Raccourcis du lecteur toujours actifs\",\"VID_SUB_ADS\":\"Autoriser les publicités uniquement pour les chaînes auxquelles je suis abonné(e)\",\"VID_PLR_ANTS\":\"Désactiver les annotations\",\"VID_PLR_DASH\":\"Désactiver la lecture DASH\",\"VID_PLR_HFR\":\"Désactiver le HFR (60fps)\",\"VID_PLR_HTML5\":\"Utiliser le lecteur HTML5 lorsque possible\",\"VID_PLR_CC\":\"Désactiver les sous-titres\",\"VID_PLR_INFO\":\"Activer la barre d'information avec un bouton à regarder plus tard\",\"VID_PLR_FIT\":\"Adapter à la page en mode cinéma\",\"VID_PLR_FIT_WDTH\":\"Adapter à la page à une largeur maximale de :\",\"VID_PLR_DYN_SIZE\":\"Désactiver la taille dynamique du lecteur en vue par défaut\",\"VID_DESC_SHRT\":\"Cacher le nom des boutons dans la description des vidéos\",\"VID_TTL_CMPT\":\"Titre de vidéo compact\",\"VID_LAYT_AUTO_PNL\":\"Dérouler automatiquement la description d'une vidéo\",\"GEN_CHN_DFLT_PAGE\":\"Page par défaut d'une chaîne :\",\"GEN_CHN_DFLT_PAGE_DFLT\":\"Par défaut\",\"GEN_CHN_DFLT_PAGE_VID\":\"Vidéos\",\"GEN_CHN_DFLT_PAGE_PL\":\"Playlists\",\"GEN_CHN_DFLT_PAGE_CHN\":\"Chaînes\",\"GEN_CHN_DFLT_PAGE_DISC\":\"Discussion\",\"GEN_CHN_DFLT_PAGE_ABT\":\"À propos\",\"BLK_TTL\":\"Réglages de la liste noire\",\"BLK_BLK\":\"Liste noire\",\"BLK_ON\":\"Activer la liste noire\",\"ABT_TTL\":\"Informations et liens utiles\",\"ABT_THKS\":\"Remerciements :\",\"ABT_THKS_YEPPHA\":\", dont le travail a inspiré la création de ce projet, sans qui rien de tout cela n'aurait existé aujourd'hui.\",\"ABT_THKS_USERSCRIPT\":\" pour avoir énormément facilité la création et le développement des logiciels tiers.\",\"ABT_THKS_STACKOV\":\" pour toutes ses informations vitales qui sont d'une aide précieuse dans le développement de logiciels.\",\"ABT_INFO\":\"Pages officielles\",\"ABT_LNK_GHB\":\"GitHub\",\"ABT_LNK_GRFK\":\"Greasy Fork\",\"ABT_LNK_OPNU\":\"OpenUserJS\",\"WLCM\":\"Merci d'avoir installé YouTube+\",\"WLCMSTRT\":\"Vous pouvez personnaliser vos options en cliquant sur le bouton ci-dessus\",\"LOCALE\":\"Français\"}", "description": "Français" }, + "hu_HU" : { + "message": "{\"YTSETS\":\"YouTube+ beállítások\",\"ADV_OPTS\":\"Haladó beállítások\",\"SUB_PLST\":\"Legújabb feltöltések lejátszása\",\"PPOT_OPEN\":\"Megnyitás felugró ablakban\",\"BLCK_ADD\":\"Feketelistához adás\",\"BLCK_EDIT\":\"Szerkesztés\",\"BLCK_SAVE\":\"Mentés\",\"BLCK_CLSE\":\"Bezárás\",\"CNSL_AP\":\"Automatikus lejátszás\",\"CNSL_RPT\":\"Videó ismétlése\",\"CNSL_SVTH\":\"Miniatűr megnyitása\",\"CNSL_SS\":\"Képernyőmentés készítése\",\"CNSL_SS_CLS\":\"BEZÁRÁS\",\"CNSL_PPOT\":\"Felugró videó\",\"CNSL_FLBR\":\"Teljes böngészős mód\",\"CNSL_CINM_MD\":\"Mozi mód\",\"CNSL_YTSC\":\"YouTube gyorsbillentyűinek listája\",\"PLST_AP\":\"Automatikus lejátszás\",\"PLST_RVRS\":\"Fordított\",\"SHOW_CMTS\":\"Megjegyzések megjelenítése\",\"HIDE_CMTS\":\"Megjegyzések elrejtése\",\"GLB_IMPR\":\"Beállítások importálása/exportálása\",\"GLB_LOCL_LANG\":\"Kattints ide a YT+ nyelvének szerkesztéséhez\",\"GLB_LOCL_LANG_CSTM\":\"Helyi\",\"GLB_IMPR_SAVE\":\"Mentés és betöltés\",\"GLB_RSET\":\"Visszaállítás\",\"GLB_RSET_CONF\":\"Ez visszaállítja a YT+ beállításait és a feketelista törlésre kerül. Folytatni akarod?\",\"GLB_SVE\":\"Mentés\",\"GLB_SVE_SETS\":\"Beállítások elmentve\",\"GLB_RMBL\":\"Eltávolítás a feketelistáról\",\"FTR_DESC\":\"Tudd meg, hogy ez mit csinál\",\"GEN\":\"Általános\",\"VID\":\"Videó\",\"CHN\":\"Csatornák\",\"BLK\":\"Feketelista\",\"ABT\":\"Névjegy\",\"HLP\":\"Súgó\",\"DNT\":\"Adományozás\",\"GEN_TTL\":\"Általános beállítások\",\"GEN_GEN\":\"Általános\",\"GEN_LYT\":\"Elrendezés\",\"GEN_LOCL_LANG\":\"Módosított YT+ nyelv használata\",\"GEN_PPOT_ON\":\"Felugró mód engedélyezése\",\"GEN_DSBL_ADS\":\"Hirdetések letiltása a videóoldalon kívül\",\"GEN_INF_SCRL\":\"Végtelen görgetés engedélyezése a listákban\",\"GEN_YT_LOGO_LINK\":\"YouTube logó átirányítása a feliratkozásokra\",\"GEN_SUB_LIST\":\"Feliratkozási lejátszási lista engedélyezése\",\"GEN_REM_APUN\":\"Következő automatikus lejátszásának eltávolítása\",\"GEN_SPF_OFF\":\"SPF letiltása\",\"GEN_HIDE_FTR\":\"Lábjegyzet elrejtése\",\"GEN_BLUE_GLOW\":\"Kék ragyogás eltávolítása a kattintott gombok körül\",\"GEN_HDE_RECM_SDBR\":\"Ajánlott csatornák oldalsáv elrejtése\",\"GEN_HDE_SRCH_SDBR\":\"Keresési eredmények oldalsáv elrejtése\",\"GEN_HDE_CHN_SDBR\":\"Csatorna oldalsáv elrejtése\",\"GEN_CMPT_TTLS\":\"Kompakt címek a listákban\",\"GEN_DSB_HVRC\":\"Lebegőkártyák letiltása\",\"GEN_BTTR_NTF\":\"Fejlesztett kék értesítési doboz\",\"GEN_GRID_SUBS\":\"Rácsos elrendezés a feliratkozásokban\",\"GEN_GRID_SRCH\":\"Rácsos elrendezés a keresési eredményekben\",\"VID_TTL\":\"Videó beállítások\",\"VID_PLR\":\"Lejátszó beállításai\",\"VID_PLR_LYT\":\"Lejátszó elrendezése\",\"VID_DFLT_QLTY\":\"Alapértelmezett videóminőség:\",\"VID_DFLT_QLTY_AUTO\":\"Automatikus\",\"VID_DFLT_QLTY_TNY\":\"144p\",\"VID_DFLT_QLTY_SML\":\"240p\",\"VID_DFLT_QLTY_MDM\":\"360p\",\"VID_DFLT_QLTY_LRG\":\"480p\",\"VID_DFLT_QLTY_720\":\"720p\",\"VID_DFLT_QLTY_1080\":\"1080p\",\"VID_DFLT_QLTY_1440\":\"1440p\",\"VID_DFLT_QLTY_2160\":\"2160p (4k)\",\"VID_DFLT_QLTY_2880\":\"2880p (5k)\",\"VID_DFLT_QLTY_ORIG\":\"4320p (8k)\",\"VID_PLR_ALVIS\":\"A lejátszó mindig látszik a megjegyzések olvasásakor\",\"VID_PLR_ALVIS_WDTH\":\"Lebegő lejátszó szélessége\",\"VID_PLR_ALVIS_MOVE\":\"Lejátszó mozgatása\",\"VID_PLR_ALVIS_SCRL_TOP\":\"Ugrás a tetejére\",\"VID_PLR_ATPL\":\"Videók automatikus lejátszása\",\"VID_LAYT\":\"Elrendezés\",\"VID_VID_CNT\":\"Hivatkozás mutatása a feltöltött videók számával\",\"VID_POST_TIME\":\"A videó feltöltésétől eltelt idő mutatása\",\"VID_HIDE_DETLS\":\"Videóleírás elrejtése\",\"VID_HIDE_COMS\":\"Megjegyzés rész\",\"VID_HIDE_COMS_SHOW\":\"Megjelenítés\",\"VID_HIDE_COMS_HIDE\":\"Elrejtés\",\"VID_HIDE_COMS_REM\":\"Eltávolítás\",\"VID_END_SHRE\":\"Megosztási panel letiltása, amikor a videó véget ér\",\"VID_PLST\":\"Lejátszási listák\",\"VID_PLST_ATPL\":\"Lejátszási lista automatikus lejátszási vezérlésének engedélyezése\",\"VID_PLST_RVRS\":\"Fordított lejátszási lista vezérlésének engedélyezése\",\"VID_PLR_SIZE_MEM\":\"Lejátszómód megjegyzése\",\"VID_VOL_WHEEL\":\"Hangerő változtatása egérgörgővel\",\"VID_PLR_VOL_MEM\":\"Hangerő megjegyzése\",\"VID_PLR_VOL_LDN\":\"YouTube hangerő-normalizálás letiltása\",\"VID_PLR_ADS\":\"Hirdetések letiltása a videóoldalon\",\"VID_PLR_ALACT\":\"A lejátszó gyorsbillentyűi mindig aktívak\",\"VID_SUB_ADS\":\"Hirdetések engedélyezése csak a feliratkozott csatornák videóiban\",\"VID_PLR_ANTS\":\"Kommentárok letiltása\",\"VID_PLR_HFR\":\"HFR letiltása (60fps)\",\"VID_PLR_HTML5\":\"HTML5 lejátszó használata, ha lehetséges\",\"VID_PLR_CC\":\"Feliratok letiltása\",\"VID_PLR_INFO\":\"Infósáv engedélyezése megnézendő videó gombbal\",\"VID_PLR_FIT\":\"Oldalhoz igazítás a mozi módban\",\"VID_PLR_FIT_WDTH\":\"Oldalhoz igazítás max. szélessége:\",\"VID_PLR_DYN_SIZE\":\"Dinamikus lejátszóméret letiltása az alapértelmezett nézetben\",\"VID_DESC_SHRT\":\"Rövid videóleírás gombok\",\"VID_TTL_CMPT\":\"Kompakt cím a videóleírásban\",\"VID_PPOT_SZ\":\"Felugró lejátszó mérete\",\"VID_LAYT_AUTO_PNL\":\"Videóleírás automatikus kiterjesztése\",\"GEN_CHN_DFLT_PAGE\":\"Alapértelmezett csatornaoldal:\",\"GEN_CHN_DFLT_PAGE_DFLT\":\"Alapértelmezett\",\"GEN_CHN_DFLT_PAGE_VID\":\"Videók\",\"GEN_CHN_DFLT_PAGE_PL\":\"Lejátszási listák\",\"GEN_CHN_DFLT_PAGE_CHN\":\"Csatornák\",\"GEN_CHN_DFLT_PAGE_DISC\":\"Beszélgetés\",\"GEN_CHN_DFLT_PAGE_ABT\":\"Névjegy\",\"BLK_TTL\":\"Feketelista beállítások\",\"BLK_BLK\":\"Feketelista\",\"BLK_ON\":\"Feketelista engedélyezése\",\"ABT_TTL\":\"Információk és hasznos hivatkozások\",\"ABT_THKS\":\"Köszönet:\",\"ABT_THKS_YEPPHA\":\"nek, akinek a munkája inspirálta e projekt létrehozását, aki nélkül mindez ma nem létezne.\",\"ABT_THKS_USERSCRIPT\":\" programoknak a fejlesztési feladat és a külső forrásból származó szoftver közzétételének hihetetlenül könnyebbé tételéért.\",\"ABT_THKS_STACKOV\":\"-nak az összes felbecsülhetetlen információért, amely nagyban hozzájárult a szoftverfejlesztéshez.\",\"ABT_INFO\":\"Hivatalos oldalak\",\"ABT_LNK_GHB\":\"GitHub\",\"ABT_LNK_GRFK\":\"Greasy Fork\",\"ABT_LNK_OPNU\":\"OpenUserJS\",\"WLCM\":\"Köszönjük, hogy telepítetted a YouTube+-t\",\"WLCMSTRT\":\"A fenti gombra kattintva testreszabhatod a beállításaidat\",\"WLCMFTRS\":\"Kattints ide az összes funkció megtekintéséhez\",\"LOCALE\":\"Magyar\"}", + "description": "Magyar" + }, "it_IT" : { "message": "{\"YTSETS\":\"Impostazioni YouTube+\",\"ADV_OPTS\":\"Opzioni avanzate\",\"SUB_PLST\":\"Guarda uploads recenti\",\"PPOT_OPEN\":\"apri in pop-out\",\"BLCK_ADD\":\"Aggiungi alla blacklist\",\"BLCK_EDIT\":\"Modifica\",\"BLCK_SAVE\":\"Salva\",\"BLCK_CLSE\":\"Chiudi\",\"CNSL_AP\":\"Autoplay\",\"CNSL_RPT\":\"Ripeti video\",\"CNSL_SVTH\":\"Apri anteprima\",\"CNSL_SS\":\"Fai uno screenshot\",\"CNSL_SS_CLS\":\"CHIUDI\",\"CNSL_PPOT\":\"Pop-out video\",\"CNSL_FLBR\":\"Modalità schermo intero\",\"CNSL_CINM_MD\":\"Modalità Cinema\",\"CNSL_FRME\":\"Frame per frame\",\"PLST_AP\":\"Autoplay\",\"PLST_RVRS\":\"Inverti\",\"SHOW_CMTS\":\"Mostra commenti\",\"HIDE_CMTS\":\"Nascondi commenti\",\"GLB_IMPR\":\"Importa/esporta impostazioni\",\"GLB_LOCL_LANG\":\"Clicca per modificare la lingua di YT+\",\"GLB_LOCL_LANG_CSTM\":\"Locale\",\"GLB_IMPR_SAVE\":\"Salva e carica\",\"GLB_RSET\":\"Ripristina\",\"GLB_SVE\":\"Salva\",\"GLB_SVE_SETS\":\"Impostazioni salvate\",\"FTR_DESC\":\"Scopri cosa fa\",\"GEN\":\"Generali\",\"VID\":\"Video\",\"CHN\":\"Canali\",\"BLK\":\"Blacklist\",\"ABT\":\"Circa\",\"HLP\":\"Aiuta\",\"DNT\":\"Donazioni\",\"GEN_TTL\":\"Impostazioni generali\",\"GEN_GEN\":\"Generale\",\"GEN_LYT\":\"Layout\",\"GEN_LOCL_LANG\":\"Usa la lingua modificata di YT+\",\"GEN_PPOT_ON\":\"Attiva modaltà pop-out\",\"GEN_DSBL_ADS\":\"Disattiva la pubblicità fuori dalla pagina di riproduzione video\",\"GEN_INF_SCRL\":\"Attiva lo scorrimento infinito nella pagina notizie\",\"GEN_YT_LOGO_LINK\":\"Il logo di YouTube reindirizza alle iscrizioni\",\"GEN_SUB_LIST\":\"Attiva la playlist delle iscrizioni\",\"GEN_REM_APUN\":\"Rimuovi l'autoplay per dopo\",\"GEN_SPF_OFF\":\"Disattiva SPF\",\"GEN_HIDE_FTR\":\"Nascondi piè di pagina\",\"GEN_BLUE_GLOW\":\"Rimuovi il bagliore intorno al pulsante selezionato\",\"GEN_HDE_RECM_SDBR\":\"Nascondi la barra laterale dei video consigliati\",\"GEN_HDE_SRCH_SDBR\":\"Nascondi la barra laterale dei risultati di ricerca\",\"GEN_HDE_CHN_SDBR\":\"Nascondi la barra laterale dei canali\",\"GEN_CMPT_TTLS\":\"Titoli compatti in notizie\",\"GEN_DSB_HVRC\":\"Disabilita hovercards\",\"GEN_BTTR_NTF\":\"Migliora la casella notifica blu\",\"GEN_GRID_SUBS\":\"Layout a griglia nelle iscrizioni\",\"GEN_GRID_SRCH\":\"Layout a griglia nei risultati di ricerca\",\"VID_TTL\":\"Impostazioni video\",\"VID_PLR\":\"Impostazioni Player\",\"VID_PLR_LYT\":\"Video player layout\",\"VID_DFLT_QLTY\":\"Qualità video di default:\",\"VID_DFLT_QLTY_AUTO\":\"Auto\",\"VID_DFLT_QLTY_TNY\":\"144p\",\"VID_DFLT_QLTY_SML\":\"240p\",\"VID_DFLT_QLTY_MDM\":\"360p\",\"VID_DFLT_QLTY_LRG\":\"480p\",\"VID_DFLT_QLTY_720\":\"720p\",\"VID_DFLT_QLTY_1080\":\"1080p\",\"VID_DFLT_QLTY_1440\":\"1440p\",\"VID_DFLT_QLTY_2160\":\"2160p (4k)\",\"VID_DFLT_QLTY_2880\":\"2880p (5k)\",\"VID_DFLT_QLTY_ORIG\":\"4320p (8k)\",\"VID_PLR_ALVIS\":\"Video Player sempre visibile quando leggi i commenti\",\"VID_PLR_ALVIS_RST\":\"Ripristina posizione\",\"VID_PLR_ALVIS_SCRL_TOP\":\"Vai all'inizio\",\"VID_PLR_ATPL\":\"Autoplay video\",\"VID_LAYT\":\"Layout\",\"VID_VID_CNT\":\"Mostra un link con il numero dei video caricati\",\"VID_POST_TIME\":\"Mostra quanto tempo fa il video é stato pubblicato\",\"VID_HIDE_DETLS\":\"Nascondi i dettagli del video\",\"VID_HIDE_COMS\":\"Sezione commenti\",\"VID_HIDE_COMS_SHOW\":\"Mostra\",\"VID_HIDE_COMS_HIDE\":\"Nascondi\",\"VID_HIDE_COMS_REM\":\"Rimuovi\",\"VID_END_SHRE\":\"Disattiva il pannelo di condivisione quando il video finisce\",\"VID_PLST\":\"Playlist\",\"VID_PLST_ATPL\":\"Attiva autoplay playlist\",\"VID_PLST_RVRS\":\"Attiva autoplay playlist invertita\",\"VID_PLR_SIZE_MEM\":\"Memorizza la modalità del video player\",\"VID_VOL_WHEEL\":\"Cambia il volume con la rotella del mouse\",\"VID_PLR_VOL_MEM\":\"Memorizza il volume dell'audio\",\"VID_PLR_ADS\":\"Disattiva la pubblicità nella pagina del video\",\"VID_PLR_ALACT\":\"Collegamento del video Player sempre attivo\",\"VID_SUB_ADS\":\"Attiva la pubblicità solo nei video dei canali in cui sei iscritto\",\"VID_PLR_ANTS\":\"Disattiva le annotazioni\",\"VID_PLR_DASH\":\"Disattiva la riproduzione DASH\",\"VID_PLR_HFR\":\"Disattiva HFR (60fps)\",\"VID_PLR_HTML5\":\"Usa il player HTML5 quando è possibile\",\"VID_PLR_CC\":\"Disattiva i sottotitoli e CC\",\"VID_PLR_INFO\":\"Attiva la barra informazioni con il pulsante guarda più tardi\",\"VID_PLR_FIT\":\"Adatta la pagina in modalità teatro\",\"VID_PLR_FIT_WDTH\":\"Adatta la pagina a larghezza massima:\",\"VID_PLR_DYN_SIZE\":\"Disabilita la dimensione dinamica del video player nella visualizzazione di default\",\"VID_DESC_SHRT\":\"Pulsanti breve descrizione del video\",\"VID_TTL_CMPT\":\"Titolo compatto nella descrizione del video\",\"VID_PPOT_SZ\":\"Grandezza Pop-out player\",\"VID_LAYT_AUTO_PNL\":\"Espandi in automatico la descrizione video\",\"GEN_CHN_DFLT_PAGE\":\"Pagina di default del canale:\",\"GEN_CHN_DFLT_PAGE_DFLT\":\"Default\",\"GEN_CHN_DFLT_PAGE_VID\":\"Video\",\"GEN_CHN_DFLT_PAGE_PL\":\"Playlists\",\"GEN_CHN_DFLT_PAGE_CHN\":\"Canali\",\"GEN_CHN_DFLT_PAGE_DISC\":\"Discussione\",\"GEN_CHN_DFLT_PAGE_ABT\":\"Circa\",\"BLK_TTL\":\"Impostazioni Blacklist\",\"BLK_BLK\":\"Blacklist\",\"BLK_ON\":\"Abilita blacklist\",\"ABT_TTL\":\"Informazioni e link utili\",\"ABT_THKS\":\"Grazie a:\",\"ABT_THKS_YEPPHA\":\", Che ha lavorato ispirato dalla creazione di questo progetto, senza di lui niente di tutto questo esisterebbe oggi.\",\"ABT_THKS_USERSCRIPT\":\" per rendere il compito di sviluppare software di terze parti incredibilmente facile.\",\"ABT_THKS_STACKOV\":\" per tutte le inestimabili informazioni che contribuiscono notevolmente allo sviluppo software.\",\"ABT_INFO\":\"Pagine ufficiali\",\"ABT_LNK_GHB\":\"GitHub\",\"ABT_LNK_GRFK\":\"Greasy Fork\",\"ABT_LNK_OPNU\":\"OpenUserJS\",\"WLCM\":\"Grazie per aver installato YouTube+\",\"WLCMSTRT\":\"Puoi personalizzare le tue impostazioni premendo il tasto sopra\",\"LOCALE\":\"Italiano\"}", "description": "Italiano" diff --git a/src/Webextension/manifest.json b/src/Webextension/manifest.json index c90af8a..de40de9 100644 --- a/src/Webextension/manifest.json +++ b/src/Webextension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "YouTube Plus", - "version": "1.7.9", + "version": "1.8.0", "description": "YouTube with more freedom", "default_locale": "en", "icons": {