release 2.0

This commit is contained in:
2026-03-14 01:32:31 +03:00
parent 0a59a5706b
commit aa99a4f47c
2 changed files with 176 additions and 11 deletions
+12
View File
@@ -1,6 +1,17 @@
// content.js
function hasDocumentElements() {
if (!isDocumentsPage()) return;
const elements = document.querySelectorAll('[class*="document" i]');
if (elements.length === 9) {
window.location.reload();
}
}
if (isDocumentsPage()) {
console.log('[EXT][content] loaded');
setInterval(hasDocumentElements, 500);
}
const dataType = 'metaData';
@@ -48,6 +59,7 @@ async function loadStorageData() {
}
async function updateStorageData() {
await loadStorageData();
if (!storageData.metaData || !storageData.userData) {
await loadStorageData();
}