chore: remove internal docs from public repo, make apk download instance-scoped v1.4.8

This commit is contained in:
Enes Yakıştır
2026-08-31 17:04:44 +03:00
parent e161dea9da
commit c6e5abf87e
4 changed files with 12 additions and 2 deletions
+6
View File
@@ -2889,7 +2889,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 +2939,7 @@
}
function injectSidebarApkLink() {
if (!isYakTubeInstance()) return;
// If inside APK: NEVER show in sidebar
if (isInsideYakTubeApp) {
var existLink = document.getElementById('yaktube-sidebar-apk-link');