Skip to content

Commit

Permalink
删除无效recourse
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglianjie91 committed Aug 21, 2024
1 parent b7d5c90 commit 55e43ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion dist/ttblock.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
// @description 常用中文网站增强, 例如某乎等
// @icon https://vitejs.dev/logo.svg
// @include *://www.zhihu.com/*
// @resource setting ./setting.html
// @sandbox raw
// @grant GM.getValue
// @grant GM.registerMenuCommand
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default defineConfig({
// 脚本运行前加载 通过@require加载的脚本及其“use strict”语句可能会影响用户脚本的严格模式!
// require: ["jquery", "dengdneg"],
// preload 预加载可由脚本通过GM_getResourceURL和GM_getResourceText访问的资源。
resource: { setting: "./setting.html" },
resource: {},
// 不支持hash路由,支持正则
include: ["*://www.zhihu.com/*"],
// match: ["https://www.zhihu.com/*"],
Expand Down

0 comments on commit 55e43ff

Please sign in to comment.