您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Bypass Gofile Download Limit
// ==UserScript== // @name Gofile Download Bypass // @namespace http://tampermonkey.net/ // @version 1.3 // @description Bypass Gofile Download Limit // @author NoOne // @license MIT // @match https://gofile.io/d/* // @icon https://www.google.com/s2/favicons?sz=64&domain=gofile.io // @grant none // ==/UserScript== (function () { 'use strict'; const bypassBase = "https://gf.cybar.xyz/"; function getBypassUrl() { const match = window.location.pathname.match(/\/d\/(\w+)/); return match && match[1] ? bypassBase + match[1] : null; } function startDownload(link) { const a = document.createElement("a"); a.href = link; a.download = ''; document.body.appendChild(a); a.click(); document.body.removeChild(a); } function showPopup(link) { const popup = document.createElement("div"); popup.style.position = "fixed"; popup.style.top = "50%"; popup.style.left = "50%"; popup.style.transform = "translate(-50%, -50%)"; popup.style.zIndex = "9999"; popup.style.background = "#1e1e2f"; popup.style.padding = "20px"; popup.style.border = "2px solid #5af"; popup.style.color = "#fff"; popup.style.borderRadius = "10px"; popup.style.width = "400px"; popup.style.textAlign = "center"; const close = document.createElement("span"); close.innerHTML = "×"; close.style.position = "absolute"; close.style.top = "5px"; close.style.right = "10px"; close.style.cursor = "pointer"; close.onclick = () => popup.remove(); popup.appendChild(close); const linkElem = document.createElement("a"); linkElem.href = link; linkElem.textContent = link; linkElem.style.display = "block"; linkElem.style.marginBottom = "15px"; linkElem.style.color = "#6cf"; popup.appendChild(linkElem); const copyBtn = document.createElement("button"); copyBtn.textContent = "🔗 Copy"; copyBtn.className = "bg-blue-600 hover:bg-blue-700 text-white rounded px-4 py-2"; copyBtn.onclick = () => { navigator.clipboard.writeText(link).then(() => { copyBtn.textContent = "✔️ Copied"; setTimeout(() => copyBtn.textContent = "🔗 Copy", 2000); }); }; popup.appendChild(copyBtn); document.body.appendChild(popup); } function insertButtonsIntoGofileUI() { const container = document.querySelector("#index_accounts"); if (!container) return; const targetButton = container.querySelector(".index_addAccount"); if (!targetButton) return; const btnDownload = document.createElement("button"); btnDownload.textContent = "⬇️ Download Bypass"; btnDownload.className = "mt-2 flex items-center justify-center gap-2 p-2 text-white bg-green-600 hover:bg-green-700 rounded w-full"; btnDownload.onclick = () => { const url = getBypassUrl(); if (url) startDownload(url); }; const btnShow = document.createElement("button"); btnShow.textContent = "🔍 Show Bypass Link"; btnShow.className = "mt-2 flex items-center justify-center gap-2 p-2 text-white bg-blue-600 hover:bg-blue-700 rounded w-full"; btnShow.onclick = () => { const url = getBypassUrl(); if (url) showPopup(url); }; targetButton.insertAdjacentElement('afterend', btnShow); btnShow.insertAdjacentElement('afterend', btnDownload); } const waitForUI = setInterval(() => { const test = document.querySelector("#index_accounts .index_addAccount"); if (test) { clearInterval(waitForUI); insertButtonsIntoGofileUI(); } }, 500); })();