This commit is contained in:
2022-06-05 20:54:04 -05:00
parent 43712490ee
commit a5fceece5a
2 changed files with 6 additions and 1 deletions

View File

@@ -1,12 +1,14 @@
"use strict";
// ==UserScript==
// @name OptiFine Download Links
// @namespace zomo
// @namespace zomo.dev
// @match https://optifine.net/*
// @grant none
// @version 1.0
// @author zomo
// @description automatically grab optifine links through the ads
// @downloadURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/optifine-download-links.zomo.js
// @updateURL https://git.zomo.dev/zomo/browser-scripts/raw/branch/main/dist/optifine-download-links.zomo.js
// ==/UserScript==
const onhover = false; // when to load link, false will load immediately
async function getDownload(href) {