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
fix(mobile): permanently suppress .mobile-msg banner and close button, and upgrade WakeLock background playback v1.4.16
This commit is contained in:
@@ -2,6 +2,10 @@ try {
|
|||||||
(function () {
|
(function () {
|
||||||
if (window.__YAKTUBE_ENGINE_LOADED__) return;
|
if (window.__YAKTUBE_ENGINE_LOADED__) return;
|
||||||
window.__YAKTUBE_ENGINE_LOADED__ = true;
|
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');
|
console.log('[YakTube] YakNet SSO, Custom Branding, A11y & On-Demand Engine Active');
|
||||||
|
|
||||||
// Dynamic Instance Name Helper
|
// Dynamic Instance Name Helper
|
||||||
@@ -563,6 +567,13 @@ try {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Aggressively remove generic Framasoft Open-in-App / Play Store banners
|
// 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(
|
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"]'
|
'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"]'
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.4.15",
|
"version": "1.4.16",
|
||||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"library": "./main.js",
|
"library": "./main.js",
|
||||||
|
|||||||
@@ -1,3 +1,25 @@
|
|||||||
|
/* 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 */
|
/* Permanent Aggressive Suppression of Generic JoinPeerTube / Framasoft Open-in-App Banners */
|
||||||
my-open-app,
|
my-open-app,
|
||||||
my-open-in-app,
|
my-open-in-app,
|
||||||
|
|||||||
Reference in New Issue
Block a user