2025/04/03

Initial commit

Signed-off-by: Drunkoatmeal <no@thanks.com>
This commit is contained in:
Drunkoatmeal
2025-04-03 23:51:19 +07:00
commit bd52d178bc
9 changed files with 915 additions and 0 deletions

25
vite.config.ts Normal file
View File

@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import Userscript from 'vite-userscript-plugin'
import { name, description, version } from './package.json';
// https://vite.dev/config/
export default defineConfig({
plugins: [
Userscript({
entry: 'src/main.ts',
header: {
name,
description,
version,
namespace: 'noproompter',
match: 'https://www.pixiv.net/*/tags/*',
noframes:true,
"run-at": "document-end",
grant: ['GM.setValue', 'GM.addStyle', 'GM.getValue', 'GM.addElement']
},
server: {
port: 3000
}
})
],
})