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): eradicate incompatible browser false positive banner across mobile and desktop (v1.4.23)
This commit is contained in:
@@ -1,4 +1,30 @@
|
|||||||
|
|
||||||
|
// 100% Incompatible Browser Suppression & Error Guardian
|
||||||
|
if (typeof window !== 'undefined') {
|
||||||
|
try {
|
||||||
|
window.displayIncompatibleBrowser = function () {};
|
||||||
|
var neuterIncompatible = function () {
|
||||||
|
var el = document.getElementById('incompatible-browser');
|
||||||
|
if (el) {
|
||||||
|
el.classList.add('browser-ok');
|
||||||
|
el.style.setProperty('display', 'none', 'important');
|
||||||
|
if (el.parentNode) el.parentNode.removeChild(el);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
neuterIncompatible();
|
||||||
|
if (document.readyState === 'loading') {
|
||||||
|
document.addEventListener('DOMContentLoaded', neuterIncompatible);
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
var incompObserver = new MutationObserver(function () {
|
||||||
|
neuterIncompatible();
|
||||||
|
});
|
||||||
|
incompObserver.observe(document.documentElement || document.body, { childList: true, subtree: true });
|
||||||
|
} catch (e) {}
|
||||||
|
setInterval(neuterIncompatible, 1000);
|
||||||
|
} catch (e) {}
|
||||||
|
}
|
||||||
|
|
||||||
// Immediate URL rewrite: redirect legacy /search/videos to /search
|
// Immediate URL rewrite: redirect legacy /search/videos to /search
|
||||||
if (typeof window !== 'undefined' && window.location) {
|
if (typeof window !== 'undefined' && window.location) {
|
||||||
if (window.location.pathname === '/search/videos' || window.location.pathname.startsWith('/search/videos/')) {
|
if (window.location.pathname === '/search/videos' || window.location.pathname.startsWith('/search/videos/')) {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.4.22",
|
"version": "1.4.23",
|
||||||
"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,4 +1,8 @@
|
|||||||
/* 100% Elimination of PeerTube Mobile Open-in-App Banner & Close Button */
|
/* 100% Elimination of PeerTube Mobile Open-in-App & Incompatible Browser Banners */
|
||||||
|
#incompatible-browser,
|
||||||
|
.alert-light#incompatible-browser,
|
||||||
|
div[id="incompatible-browser"],
|
||||||
|
.incompatible-browser,
|
||||||
.mobile-msg,
|
.mobile-msg,
|
||||||
my-header .mobile-msg,
|
my-header .mobile-msg,
|
||||||
[class*='mobile-msg'],
|
[class*='mobile-msg'],
|
||||||
@@ -16,7 +20,7 @@ button[title*='Dismiss'],
|
|||||||
pointer-events: none !important;
|
pointer-events: none !important;
|
||||||
opacity: 0 !important;
|
opacity: 0 !important;
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
z-index: -99999 !important;
|
z-index: -999999 !important;
|
||||||
clip: rect(0, 0, 0, 0) !important;
|
clip: rect(0, 0, 0, 0) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user