V.AISTUDIO / excel-fix.bookmarklet.js
bep40's picture
Upload excel-fix.bookmarklet.js
ad6c2c4 verified
Raw
History Blame
992 Bytes
javascript:(function(){var e=window.excelBlobRegistry=[];function t(){e.forEach(function(t){try{URL.revokeObjectURL(t.url)}catch(n){}});e=[]}window.addEventListener("pagehide",t),window.addEventListener("beforeunload",t),window.addEventListener("unload",t);var n=URL.revokeObjectURL;URL.revokeObjectURL=function(t){if(!t||"string"!=typeof t||!t.startsWith("blob:")){return n.call(this,t)}var o=e.find(function(e){return e.url===t});return o||e.push({url:t,created:Date.now()}),void 0};var o=window.setTimeout;window.setTimeout=function(t,r){try{if(t.toString().includes("revokeObjectURL")&&6e4===r)return console.log("[FIX] Blocked 60s revoke"),null}catch(e){}return o.call(this,t,r)};var r=document.createElement("script");r.src="https://huggingface.co/spaces/bep40/V.AISTUDIO/resolve/main/qr-payment-v1039.js?_t="+Date.now(),document.head.appendChild(r),console.log("[Excel Multi-Fix] Applied"),alert("✅ Excel Multi-Download Fix Applied!\nBạn có thể tải Excel nhiều lần.")})();