本帖最后由 ycxhs01 于 2023-12-6 15:09 编辑


在谷歌浏览器中可以成功加载本地js, 火狐中没有"允许脚本访问本地文件"选项,加载不成功,
我想在火狐浏览器中加载本地的js有办法吗?
// ==UserScript==
// @name Your Script Name
// @namespace http://your.namespace.com
// @version 0.1
// @description Your script description
// @author Your Name
// @match http://*/*
// @match https://*/*
// @require file:///C:/local/1.js
// @grant none
// ==/UserScript==