File size: 1,302 Bytes
1368d4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
 * V.AI STUDIO Excel Fix - One Click Bookmarklet
 * 
 * CÁCH DÙNG:
 * 1. Copy TOÀN BỘ đoạn code dưới (bao gồm cả javascript:)
 * 2. Tạo bookmark mới trên trình duyệt
 * 3. Dán vào phần URL của bookmark
 * 4. Mở https://huggingface.co/spaces/bep40/V.AISTUDIO
 * 5. Click bookmark - tự động áp dụng fix!
 */

javascript:(function(){
    var s=document.createElement('script');
    s.src='https://huggingface.co/spaces/bep40/V.AISTUDIO/resolve/main/vai-quote-excel-order-fix-v1050.js?v=1050';
    s.onload=function(){
        if(typeof showToast==='function'){showToast('✅ Excel Fix đã kích hoạt! Tải nhiều lần được.');}
        else{alert('✅ Excel Fix đã kích hoạt!\nBây giờ bạn có thể tải file Excel nhiều lần.');}
    };
    s.onerror=function(){
        // Inline fallback
        var orig=URL.revokeObjectURL;
        URL.revokeObjectURL=function(u){
            if(u&&u.startsWith('blob:')){
                setTimeout(function(){try{orig.call(URL,u);}catch(e){}},300000);
                return;
            }
            return orig.apply(URL,arguments);
        };
        alert('✅ Inline fix đã áp dụng!\nExcel sẽ tải được nhiều lần.');
    };
    document.head.appendChild(s);
    s=null;
})();