-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvite.config.ts
34 lines (33 loc) · 1.29 KB
/
vite.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from 'vite'
import monkey from 'vite-plugin-monkey'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
monkey({
entry: 'src/main.ts',
userscript: {
icon: 'https://vitejs.dev/logo.svg',
namespace: 'sunstorm/neptun',
author: 'SunStorm',
description: 'Bypass the Neptun 2fa',
copyright: 'MIT License',
supportURL: 'https://github.com/MrExplode/no2fa',
updateURL:
'https://github.com/MrExplode/no2fa/releases/latest/download/no2fa.user.js',
// list borrowed from NPU
include: [
'https://*neptun*/*hallgato*/*',
'https://*neptun*/*Hallgatoi*/*',
'https://*neptun*/*oktato*/*',
'https://*hallgato*.*neptun*/*',
'https://*oktato*.*neptun*/*',
'https://netw*.nnet.sze.hu/hallgato/*',
'https://nappw.dfad.duf.hu/hallgato/*',
'https://host.sdakft.hu/*',
'https://neptun.ejf.hu/ejfhw/*'
],
grant: ['GM.getValue', 'GM.setValue', 'GM_deleteValue']
}
})
]
})