Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7dc5136e5 | ||
|
|
1aba41c992 | ||
|
|
afaf4ef856 | ||
|
|
52480401c8 | ||
|
|
46a9c8ab8c | ||
|
|
a5568de3cc | ||
|
|
d629c97dd8 | ||
|
|
3016fc6328 | ||
|
|
dac3137330 | ||
|
|
15361a21b6 | ||
|
|
c6e5abf87e |
+1
-1
@@ -1,4 +1,4 @@
|
||||
node_modules/
|
||||
docs/
|
||||
*.log
|
||||
.DS_Store
|
||||
dist/
|
||||
@@ -0,0 +1,4 @@
|
||||
docs/
|
||||
*.log
|
||||
.git
|
||||
.github
|
||||
@@ -1,6 +1,11 @@
|
||||
(function () {
|
||||
try {
|
||||
(function () {
|
||||
if (window.__YAKTUBE_ENGINE_LOADED__) return;
|
||||
window.__YAKTUBE_ENGINE_LOADED__ = true;
|
||||
try {
|
||||
localStorage.setItem('hide-mobile-msg', 'true');
|
||||
sessionStorage.setItem('hide-mobile-msg', 'true');
|
||||
} catch (e) {}
|
||||
console.log('[YakTube] YakNet SSO, Custom Branding, A11y & On-Demand Engine Active');
|
||||
|
||||
// Dynamic Instance Name Helper
|
||||
@@ -49,6 +54,52 @@
|
||||
}, 50);
|
||||
}
|
||||
|
||||
// Load official YakNet Web Component definition
|
||||
if (
|
||||
typeof customElements !== 'undefined' &&
|
||||
!customElements.get('yaknet-account') &&
|
||||
!document.getElementById('yaknet-account-script')
|
||||
) {
|
||||
var s = document.createElement('script');
|
||||
s.id = 'yaknet-account-script';
|
||||
s.src = 'https://auth.yakhub.com.tr/js/yaknet-account.js';
|
||||
s.async = true;
|
||||
document.head.appendChild(s);
|
||||
}
|
||||
|
||||
// Silent background SSO Probe Engine
|
||||
function initSilentSSOProbe() {
|
||||
var token = localStorage.getItem('access_token');
|
||||
var isManualLogout = sessionStorage.getItem('yaknet_manual_logout');
|
||||
if (
|
||||
token ||
|
||||
isManualLogout ||
|
||||
window.location.search.includes('local=true') ||
|
||||
window.location.search.includes('externalAuthError') ||
|
||||
window.location.pathname.includes('/login')
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
var iframeId = 'yaknet-sso-iframe-instance';
|
||||
if (!document.getElementById(iframeId)) {
|
||||
var iframe = document.createElement('iframe');
|
||||
iframe.id = iframeId;
|
||||
iframe.src = 'https://auth.yakhub.com.tr/sdk/sso-frame';
|
||||
iframe.title = 'YakNet Oturum Kontrolü';
|
||||
iframe.setAttribute('aria-hidden', 'true');
|
||||
iframe.tabIndex = -1;
|
||||
iframe.style.cssText =
|
||||
'display:none!important;width:0!important;height:0!important;border:0!important;position:absolute!important;pointer-events:none!important;';
|
||||
document.body.appendChild(iframe);
|
||||
}
|
||||
}
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', initSilentSSOProbe);
|
||||
} else {
|
||||
initSilentSSOProbe();
|
||||
}
|
||||
|
||||
function triggerYakNetOAuth() {
|
||||
sessionStorage.removeItem('yaknet_manual_logout');
|
||||
var callbackUrl = 'https://yaktube.yakhub.com.tr/plugins/peertube-plugin-auth-yaknet/router/auth-callback';
|
||||
@@ -287,7 +338,7 @@
|
||||
var liveWidget = headerRight.querySelector('#yaknet-header-account-widget');
|
||||
|
||||
if (isAuth) {
|
||||
// Logged In: Show YakNet Profile Menu, Hide default login link
|
||||
// 1. AUTHENTICATED: Hide native login link, Show YakNet Account Profile Menu
|
||||
if (defaultLoginLink) {
|
||||
defaultLoginLink.style.display = 'none';
|
||||
defaultLoginLink.setAttribute('aria-hidden', 'true');
|
||||
@@ -332,6 +383,16 @@
|
||||
} else {
|
||||
var el = liveWidget.querySelector('yaknet-account');
|
||||
if (el) {
|
||||
if (el.getAttribute('authenticated') !== 'true' || el.getAttribute('user-name') !== displayName) {
|
||||
el.setAttribute('authenticated', 'true');
|
||||
el.setAttribute('user-name', displayName);
|
||||
el.setAttribute('user-email', emailStr);
|
||||
if (typeof el.syncStateFromAttributes === 'function') {
|
||||
el.syncStateFromAttributes();
|
||||
el.render();
|
||||
}
|
||||
}
|
||||
|
||||
if (el.shadowRoot) {
|
||||
var shadowLogoutBtn =
|
||||
el.shadowRoot.getElementById('logoutBtn') ||
|
||||
@@ -350,23 +411,16 @@
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (el.getAttribute('authenticated') !== 'true' || el.getAttribute('user-name') !== displayName) {
|
||||
el.setAttribute('authenticated', 'true');
|
||||
el.setAttribute('user-name', displayName);
|
||||
el.setAttribute('user-email', emailStr);
|
||||
if (typeof el.syncStateFromAttributes === 'function') {
|
||||
el.syncStateFromAttributes();
|
||||
el.render();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Not Logged In: Remove YakNet widget to eliminate duplicate button, keep PeerTube native login button clean
|
||||
// 2. GUEST / NOT LOGGED IN:
|
||||
// A. Physically remove any <yaknet-account> widget from DOM to guarantee zero shadow DOM duplicate buttons
|
||||
if (liveWidget) {
|
||||
liveWidget.remove();
|
||||
}
|
||||
|
||||
// B. Ensure PeerTube's native login link is the ONLY single accessible login element
|
||||
if (defaultLoginLink) {
|
||||
defaultLoginLink.style.display = '';
|
||||
defaultLoginLink.removeAttribute('aria-hidden');
|
||||
@@ -375,7 +429,7 @@
|
||||
defaultLoginLink.tagName.toLowerCase() === 'a' ? defaultLoginLink : defaultLoginLink.querySelector('a');
|
||||
if (loginAnchor) {
|
||||
loginAnchor.setAttribute('aria-label', 'YakNet ile Giriş Yap');
|
||||
loginAnchor.setAttribute('title', 'YakNet Hesabınız ile Giriş Yapın');
|
||||
loginAnchor.setAttribute('title', 'YakNet ile Giriş Yap');
|
||||
var spanText = loginAnchor.querySelector('span');
|
||||
if (spanText) {
|
||||
spanText.textContent = 'YakNet ile Giriş Yap';
|
||||
@@ -443,7 +497,9 @@
|
||||
if (containerToHide && !isLocalLogin) {
|
||||
var subElements = Array.from(loginCard.children).filter(function (el) {
|
||||
return (
|
||||
el.id !== 'yaknet-login-section' && !el.classList.contains('title') && !el.classList.contains('page-title')
|
||||
el.id !== 'yaknet-login-section' &&
|
||||
!el.classList.contains('title') &&
|
||||
!el.classList.contains('page-title')
|
||||
);
|
||||
});
|
||||
|
||||
@@ -511,6 +567,13 @@
|
||||
});
|
||||
|
||||
// Aggressively remove generic Framasoft Open-in-App / Play Store banners
|
||||
document
|
||||
.querySelectorAll(
|
||||
'.mobile-msg, [class*="mobile-msg"], button[title*="Bu mesajı kapat"], button[aria-label*="Bu mesajı kapat"]'
|
||||
)
|
||||
.forEach(function (m) {
|
||||
m.remove();
|
||||
});
|
||||
var genericAppBanners = document.querySelectorAll(
|
||||
'my-open-app, my-client-app-banner, .open-app-container, .app-banner, [class*="open-app"], [class*="open-in-app"], .mobile-app-banner, my-open-in-app, .app-promotion, a[href*="play.google.com/store/apps/details?id=app.joinpeertube"], a[href*="f-droid.org"]'
|
||||
);
|
||||
@@ -669,7 +732,9 @@
|
||||
if (!alt || alt.trim() === '') {
|
||||
var card = img.closest('.video-miniature, .video-card, .yaktube-card, [class*="miniature"]');
|
||||
if (card) {
|
||||
var titleEl = card.querySelector('.video-miniature-name, .video-name, .yaktube-video-name, h3, h4, a[title]');
|
||||
var titleEl = card.querySelector(
|
||||
'.video-miniature-name, .video-name, .yaktube-video-name, h3, h4, a[title]'
|
||||
);
|
||||
var titleText = titleEl ? (titleEl.textContent || titleEl.getAttribute('title') || '').trim() : '';
|
||||
if (titleText) {
|
||||
img.setAttribute('alt', titleText + ' video kapağı');
|
||||
@@ -815,7 +880,22 @@
|
||||
}
|
||||
|
||||
function getVideoElement() {
|
||||
return document.querySelector('video');
|
||||
// 1. Direct video tag in DOM
|
||||
var v = document.querySelector('video');
|
||||
if (v) return v;
|
||||
|
||||
// 2. Video inside iframes (e.g. embed player)
|
||||
var iframes = document.querySelectorAll('iframe');
|
||||
for (var i = 0; i < iframes.length; i++) {
|
||||
try {
|
||||
var doc = iframes[i].contentDocument || (iframes[i].contentWindow && iframes[i].contentWindow.document);
|
||||
if (doc) {
|
||||
var iv = doc.querySelector('video');
|
||||
if (iv) return iv;
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function formatTime(seconds) {
|
||||
@@ -1499,7 +1579,10 @@
|
||||
if (sData.isImporting) {
|
||||
showModal('[1/2] 📥 Video İndiriliyor...', 'Video sunucuya indiriliyor (' + attempts * 2 + ' sn)...');
|
||||
} else if (sData.isTranscoding) {
|
||||
showModal('[2/2] ⚙️ Oynatıcı Hazırlanıyor...', 'Video işleniyor ve yüksek kalite akış hazırlanıyor...');
|
||||
showModal(
|
||||
'[2/2] ⚙️ Oynatıcı Hazırlanıyor...',
|
||||
'Video işleniyor ve yüksek kalite akış hazırlanıyor...'
|
||||
);
|
||||
}
|
||||
|
||||
if (sData.isPublished || (sData.hasFiles && attempts >= 8)) {
|
||||
@@ -1827,10 +1910,17 @@
|
||||
function getRecentSearches() {
|
||||
try {
|
||||
var data = localStorage.getItem('yaktube_recent_searches');
|
||||
return data ? JSON.parse(data) : [];
|
||||
} catch (e) {
|
||||
return [];
|
||||
if (data) {
|
||||
var parsed = JSON.parse(data);
|
||||
if (Array.isArray(parsed) && parsed.length > 0) return parsed;
|
||||
}
|
||||
} catch (e) {}
|
||||
// Default initial recent searches for first-time visitors
|
||||
var defaults = ['Tarkan', 'Barış Manço', 'Yapay Zeka', 'Canlı Haber'];
|
||||
try {
|
||||
localStorage.setItem('yaktube_recent_searches', JSON.stringify(defaults));
|
||||
} catch (e) {}
|
||||
return defaults;
|
||||
}
|
||||
|
||||
function saveRecentSearch(query) {
|
||||
@@ -1867,6 +1957,19 @@
|
||||
{ title: '🎙️ Podcast & Söyleşi', q: 'Podcast Türkçe' }
|
||||
];
|
||||
|
||||
// Auto capture search query from URL into recent searches
|
||||
function captureUrlSearchQuery() {
|
||||
try {
|
||||
var params = new URLSearchParams(window.location.search);
|
||||
var q = params.get('search') || params.get('q');
|
||||
if (q && q.trim().length >= 2) {
|
||||
saveRecentSearch(q.trim());
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
captureUrlSearchQuery();
|
||||
window.addEventListener('popstate', captureUrlSearchQuery);
|
||||
|
||||
function renderDynamicSearchChips() {
|
||||
var modal = document.getElementById('yaktube-full-search-modal');
|
||||
if (!modal) return;
|
||||
@@ -1970,17 +2073,7 @@
|
||||
'<div id="yaktube-modal-voice-transcript" class="yaktube-modal-voice-transcript">Lütfen aramak istediğiniz videoyu söyleyin...</div>' +
|
||||
'<button id="yaktube-modal-mic-pulse" class="yaktube-modal-mic-pulse-btn" aria-label="Mikrofonu durdur">🎙️</button>' +
|
||||
'</div>' +
|
||||
'<div class="yaktube-modal-section-title">🔥 Hızlı ve Popüler Aramalar</div>' +
|
||||
'<div class="yaktube-modal-chips-grid">' +
|
||||
'<button class="yaktube-modal-chip" data-query="Tarkan">🎵 Tarkan</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Barış Manço">🎸 Barış Manço</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Python Dersleri">💻 Python Dersleri</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Yapay Zeka">🤖 Yapay Zeka</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Sesli Kitap">🎧 Sesli Kitap</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Canlı Haber">📺 Canlı Haber</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Gitar Dersi">🎼 Gitar Dersi</button>' +
|
||||
'<button class="yaktube-modal-chip" data-query="Bilim Belgeseli">🌍 Bilim Belgeseli</button>' +
|
||||
'</div>' +
|
||||
'<div id="yaktube-modal-dynamic-chips-section"></div>' +
|
||||
'<div class="yaktube-modal-hint-footer">' +
|
||||
'<span>💡 <b>Enter</b> ile ara, <b>Shift+V</b> ile sesli ara</span>' +
|
||||
'<span><b>Escape</b> ile kapat</span>' +
|
||||
@@ -2212,7 +2305,10 @@
|
||||
|
||||
var nativeInputs = searchContainer.querySelectorAll('input, button');
|
||||
nativeInputs.forEach(function (el) {
|
||||
if (!el.classList.contains('yaktube-search-trigger-pill') && !el.classList.contains('yaktube-voice-search-btn')) {
|
||||
if (
|
||||
!el.classList.contains('yaktube-search-trigger-pill') &&
|
||||
!el.classList.contains('yaktube-voice-search-btn')
|
||||
) {
|
||||
el.style.display = 'none';
|
||||
el.setAttribute('tabindex', '-1');
|
||||
el.setAttribute('aria-hidden', 'true');
|
||||
@@ -2478,7 +2574,8 @@
|
||||
}
|
||||
|
||||
function checkAndInjectRelatedVideos(forceReload) {
|
||||
var isWatchPage = window.location.pathname.includes('/videos/watch/') || window.location.pathname.startsWith('/w/');
|
||||
var isWatchPage =
|
||||
window.location.pathname.includes('/videos/watch/') || window.location.pathname.startsWith('/w/');
|
||||
if (!isWatchPage) {
|
||||
var existing = document.getElementById('yaktube-hybrid-related-container');
|
||||
if (existing) existing.remove();
|
||||
@@ -2756,7 +2853,10 @@
|
||||
card.className = 'yaktube-comment-item';
|
||||
card.setAttribute('role', 'article');
|
||||
card.setAttribute('tabindex', '0');
|
||||
card.setAttribute('aria-label', c.author + ' isimli kullan\u0131c\u0131n\u0131n yorumu: ' + c.content);
|
||||
card.setAttribute(
|
||||
'aria-label',
|
||||
c.author + ' isimli kullan\u0131c\u0131n\u0131n yorumu: ' + c.content
|
||||
);
|
||||
card.style.cssText =
|
||||
'background: #1e293b; padding: 14px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); display: flex; gap: 12px; align-items: flex-start;';
|
||||
|
||||
@@ -2832,9 +2932,11 @@
|
||||
|
||||
// 6. PWA Mobile App Install Engine & Standalone Detection
|
||||
var isInsideYakTubeApp =
|
||||
navigator.userAgent.indexOf('YakTubeMobileApp') !== -1 ||
|
||||
window.matchMedia('(display-mode: standalone)').matches ||
|
||||
window.navigator.standalone === true;
|
||||
(navigator.userAgent && navigator.userAgent.indexOf('YakTubeMobileApp') !== -1) ||
|
||||
(typeof window.matchMedia === 'function' &&
|
||||
window.matchMedia('(display-mode: standalone)') &&
|
||||
window.matchMedia('(display-mode: standalone)').matches) ||
|
||||
(window.navigator && window.navigator.standalone === true);
|
||||
|
||||
var isMobileDevice = /Android|iPhone|iPad|iPod|Mobile|Tablet/i.test(navigator.userAgent);
|
||||
|
||||
@@ -2889,7 +2991,12 @@
|
||||
headerButtons.prepend(installBtn);
|
||||
}
|
||||
|
||||
function isYakTubeInstance() {
|
||||
return window.location.hostname.includes('yaktube.yakhub.com.tr') || getInstanceName() === 'YakTube';
|
||||
}
|
||||
|
||||
function injectApkDownloadButton() {
|
||||
if (!isYakTubeInstance()) return;
|
||||
// 1. If inside APK: NEVER show APK button
|
||||
if (isInsideYakTubeApp) {
|
||||
var existBtnApp = document.getElementById('yaktube-apk-download-btn');
|
||||
@@ -2934,6 +3041,7 @@
|
||||
}
|
||||
|
||||
function injectSidebarApkLink() {
|
||||
if (!isYakTubeInstance()) return;
|
||||
// If inside APK: NEVER show in sidebar
|
||||
if (isInsideYakTubeApp) {
|
||||
var existLink = document.getElementById('yaktube-sidebar-apk-link');
|
||||
@@ -2980,14 +3088,14 @@
|
||||
checkAndInjectWatchPageComments();
|
||||
});
|
||||
checkAndInjectWatchPageComments();
|
||||
})();
|
||||
})();
|
||||
|
||||
// 5. Background Play (Screen-Off / Minimize) & MediaSession Lock-Screen Controls
|
||||
(function initBackgroundPlaybackEngine() {
|
||||
// 5. Background Play (Screen-Off / Minimize) & MediaSession Lock-Screen Controls
|
||||
(function initBackgroundPlaybackEngine() {
|
||||
var videoState = {
|
||||
hasPlayed: false,
|
||||
pausedByUser: false,
|
||||
pausedAt: null
|
||||
explicitlyPausedByClick: false,
|
||||
lastPlayTime: 0
|
||||
};
|
||||
|
||||
function attachVideoListeners(video) {
|
||||
@@ -2996,21 +3104,14 @@
|
||||
|
||||
video.addEventListener('play', function () {
|
||||
videoState.hasPlayed = true;
|
||||
videoState.pausedByUser = false;
|
||||
videoState.explicitlyPausedByClick = false;
|
||||
videoState.lastPlayTime = Date.now();
|
||||
updateMediaSessionMetadata(video);
|
||||
});
|
||||
|
||||
video.addEventListener('pause', function () {
|
||||
videoState.pausedAt = Date.now();
|
||||
// If document is visible when paused, it was paused manually by the user
|
||||
if (!document.hidden) {
|
||||
videoState.pausedByUser = true;
|
||||
}
|
||||
});
|
||||
|
||||
video.addEventListener('ended', function () {
|
||||
videoState.hasPlayed = false;
|
||||
videoState.pausedByUser = true;
|
||||
videoState.explicitlyPausedByClick = true;
|
||||
});
|
||||
|
||||
video.addEventListener('timeupdate', function () {
|
||||
@@ -3018,30 +3119,50 @@
|
||||
});
|
||||
}
|
||||
|
||||
function handleVisibilityChange() {
|
||||
if (!document.hidden) return; // Screen is active
|
||||
// Hook manual play/pause buttons
|
||||
document.addEventListener(
|
||||
'click',
|
||||
function (e) {
|
||||
var target = e.target;
|
||||
if (!target) return;
|
||||
var btn = target.closest(
|
||||
'.vjs-play-control, button[title*="Duraklat"], button[aria-label*="Duraklat"], #yaktube-bar-play-btn'
|
||||
);
|
||||
if (btn) {
|
||||
var video = getVideoElement();
|
||||
if (video && !video.paused) {
|
||||
videoState.explicitlyPausedByClick = true;
|
||||
}
|
||||
}
|
||||
},
|
||||
true
|
||||
);
|
||||
|
||||
function handleVisibilityChange() {
|
||||
var video = getVideoElement();
|
||||
if (!video) return;
|
||||
|
||||
// If user hasn't played or deliberately paused, do not auto-resume
|
||||
if (!videoState.hasPlayed || videoState.pausedByUser) return;
|
||||
|
||||
var now = Date.now();
|
||||
if (videoState.pausedAt && now - videoState.pausedAt > 1500 && videoState.pausedByUser) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Resume playback when screen locks or tab switches
|
||||
// When screen turns off / tab is hidden:
|
||||
if (document.hidden || document.webkitHidden) {
|
||||
if (videoState.hasPlayed && !videoState.explicitlyPausedByClick) {
|
||||
// Unconditionally keep audio stream active
|
||||
setTimeout(function () {
|
||||
if (video.paused && !videoState.pausedByUser) {
|
||||
if (video.paused && !videoState.explicitlyPausedByClick) {
|
||||
video.play().catch(function () {});
|
||||
}
|
||||
}, 50);
|
||||
}, 100);
|
||||
setTimeout(function () {
|
||||
if (video.paused && !videoState.explicitlyPausedByClick) {
|
||||
video.play().catch(function () {});
|
||||
}
|
||||
}, 300);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('visibilitychange', handleVisibilityChange, false);
|
||||
document.addEventListener('webkitvisibilitychange', handleVisibilityChange, false);
|
||||
window.addEventListener('pagehide', handleVisibilityChange, false);
|
||||
|
||||
// MediaSession API Integration (Lock Screen, Bluetooth, Smart Watches)
|
||||
function updateMediaSessionMetadata(video) {
|
||||
@@ -3109,4 +3230,7 @@
|
||||
var video = getVideoElement();
|
||||
if (video) attachVideoListeners(video);
|
||||
}, 1000);
|
||||
})();
|
||||
})();
|
||||
} catch (err) {
|
||||
console.error('[YakTube] Safe catch error:', err);
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "peertube-plugin-yaktube-ondemand",
|
||||
"version": "1.4.7",
|
||||
"version": "1.4.18",
|
||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
||||
"main": "main.js",
|
||||
"library": "./main.js",
|
||||
|
||||
@@ -1,3 +1,51 @@
|
||||
/* 100% Elimination of PeerTube Mobile Open-in-App Banner & Close Button */
|
||||
.mobile-msg,
|
||||
my-header .mobile-msg,
|
||||
[class*='mobile-msg'],
|
||||
button[title*='Bu mesajı kapat'],
|
||||
button[aria-label*='Bu mesajı kapat'],
|
||||
button[title*='Dismiss'],
|
||||
.msg.ellipsis,
|
||||
.peertube-button-link.secondary-button {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
pointer-events: none !important;
|
||||
opacity: 0 !important;
|
||||
position: absolute !important;
|
||||
z-index: -99999 !important;
|
||||
clip: rect(0, 0, 0, 0) !important;
|
||||
}
|
||||
|
||||
/* Permanent Aggressive Suppression of Generic JoinPeerTube / Framasoft Open-in-App Banners */
|
||||
my-open-app,
|
||||
my-open-in-app,
|
||||
my-client-app-banner,
|
||||
.open-app-container,
|
||||
.app-banner,
|
||||
[class*='open-app'],
|
||||
[class*='open-in-app'],
|
||||
.mobile-app-banner,
|
||||
.app-promotion,
|
||||
.client-app-banner,
|
||||
a[href*='play.google.com/store/apps/details?id=app.joinpeertube'],
|
||||
a[href*='f-droid.org'],
|
||||
a[href*='joinpeertube'] {
|
||||
display: none !important;
|
||||
visibility: hidden !important;
|
||||
height: 0 !important;
|
||||
width: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
pointer-events: none !important;
|
||||
opacity: 0 !important;
|
||||
position: absolute !important;
|
||||
z-index: -99999 !important;
|
||||
}
|
||||
|
||||
/* YakTube Accessibility & On-Demand CSS */
|
||||
|
||||
:focus-visible {
|
||||
|
||||
Reference in New Issue
Block a user