Skip to content

Commit c3034ab

Browse files
committed
Update
Signed-off-by: Magic <magicoflolis@tuta.io>
1 parent 110d01b commit c3034ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+7599
-4532
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml renamed to .github/ISSUE_TEMPLATE/01_bug_report.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
name: Bug Report
2-
description: 'File a bug report.'
1+
name: "🐞 Bug report"
2+
description: File a bug report
3+
title: "[bug]: "
4+
labels: ["bug 🐞"]
35
body:
46
- type: textarea
57
id: bug-description
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "💡 Feature request"
2+
description: Suggest an idea for this project
3+
title: "[feat]: "
4+
labels: ["feature-request 💡"]
5+
body:
6+
- type: textarea
7+
id: description
8+
attributes:
9+
label: Feature description
10+
description: A clear and concise description of what the feature request is. Please include if your feature request is related to a problem
11+
validations:
12+
required: true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
>
88
> [https://developer.mozilla.org/docs/Web/HTTP/CSP](https://developer.mozilla.org/docs/Web/HTTP/CSP)
99
10-
![GitHub License](https://img.shields.io/github/license/magicoflolis/Userscript-Plus?style=flat-square)
11-
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/magicoflolis/Userscript-Plus?style=flat-square)
10+
[![GitHub License](https://img.shields.io/github/license/magicoflolis/Userscript-Plus?style=flat-square)](https://github.com/magicoflolis/Userscript-Plus/blob/master/LICENSE)
11+
[![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/magicoflolis/Userscript-Plus?style=flat-square)](https://github.com/magicoflolis/Userscript-Plus/issues)
1212
[![GitHub Release](https://img.shields.io/github/release/magicoflolis/Userscript-Plus?style=flat-square)](https://github.com/magicoflolis/Userscript-Plus/releases/latest)
1313
[![Greasy Fork Downloads](https://img.shields.io/greasyfork/dt/421603?style=flat-square)](https://greasyfork.org/scripts/421603)
1414
[![GitHub Stars](https://img.shields.io/github/stars/magicoflolis/Userscript-Plus?style=flat-square)](https://github.com/magicoflolis/Userscript-Plus/stargazers)
1515

16-
*A complete rewrite of [Userscript+ : Show Site All UserJS](https://github.com/jae-jae/Userscript-Plus#userscript) - authors & source code found [here](https://github.com/jae-jae/Userscript-Plus)*
16+
*A complete rewrite of [Userscript+ : Show Site All UserJS](https://github.com/jae-jae/Userscript-Plus#userscript)*
1717

1818
Finds available Userscripts for the current webpage, the power of [Greasy Fork](https://greasyfork.org) on the go!
1919

browser-issues.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Currently known issues by Web Browser
22

3-
> Last updated: 4/20/2024
3+
> Last updated: 5/2/2024
44
55
[Submit a New Issue](https://github.com/magicoflolis/Magic-PH/issues/new/choose)
66

@@ -14,22 +14,10 @@
1414

1515
## Google Chrome
1616

17-
**TamperMonkey:**
18-
19-
- N/A
20-
21-
**ViolentMonkey:**
22-
2317
- N/A
2418

2519
## Cromite
2620

27-
**TamperMonkey:**
28-
29-
- N/A
30-
31-
**ViolentMonkey:**
32-
3321
- N/A
3422

3523
## Kiwi Browser
@@ -41,22 +29,10 @@
4129

4230
## Microsoft Edge
4331

44-
**TamperMonkey:**
45-
46-
- N/A
47-
48-
**ViolentMonkey:**
49-
5032
- N/A
5133

5234
## Mozilla Firefox
5335

54-
**TamperMonkey:**
55-
56-
- N/A
57-
58-
**ViolentMonkey:**
59-
6036
- N/A
6137

6238
## Opera
@@ -65,11 +41,3 @@
6541

6642
- Cannot load on search engine sites (common example: [google.com](https://www.google.com))
6743
- As stated using ViolentMonkey: _Violentmonkey cannot run userscripts in this page (common examples: browser UI, an extension, blocked via policies, a search engine site in Opera)_
68-
69-
**TamperMonkey:**
70-
71-
- N/A
72-
73-
**ViolentMonkey:**
74-
75-
- N/A

dist/magic-userjs.user.js

Lines changed: 2217 additions & 1662 deletions
Large diffs are not rendered by default.

eslint.config.js

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,26 @@ import js from '@eslint/js';
22
import globals from 'globals';
33
import eslintConfigPrettier from 'eslint-config-prettier';
44

5-
const repoGlobals = {
6-
MU: 'writable',
7-
userjs: 'writable',
8-
boxCSS: 'readonly',
5+
const userJSGlobals = {
6+
code: 'readonly',
7+
metadata: 'readonly',
98
main_css: 'readonly',
10-
custom_width: 'readonly',
11-
jaeFetchUserJSFrame: 'readonly',
9+
languageList: 'readonly',
10+
translations: 'readonly',
11+
userjs: 'writable',
12+
...globals.es2021,
13+
...globals.browser,
14+
...globals.greasemonkey
15+
};
16+
const webextGlobals = {
17+
MU: 'writable',
1218
sleazyfork_redirect: 'readonly',
1319
webext: 'readonly',
14-
brws: 'readonly'
20+
brws: 'readonly',
21+
userjs: 'writable',
22+
...globals.es2021,
23+
...globals.browser,
24+
...globals.webextensions
1525
};
1626
const parserOptions = {
1727
allowImportExportEverywhere: false,
@@ -39,39 +49,42 @@ export default [
3949
languageOptions: {
4050
ecmaVersion: 'latest',
4151
sourceType: 'module',
42-
globals: {
43-
...repoGlobals,
44-
...globals.browser,
45-
...globals.webextensions
46-
},
52+
globals: webextGlobals,
4753
parserOptions
4854
},
4955
rules
5056
},
5157
{
52-
// files: ['**/*.js'],
53-
// ignores: ['src/UserJS/header.js', 'src/languages.js', 'dist/**/*.js'],
5458
files: ['src/UserJS/main.js'],
5559
languageOptions: {
5660
ecmaVersion: 'latest',
5761
sourceType: 'module',
58-
globals: {
59-
languageList: 'readonly',
60-
...repoGlobals,
61-
...globals.browser,
62-
...globals.greasemonkey
63-
},
62+
globals: userJSGlobals,
6463
parserOptions
6564
},
6665
rules
6766
},
67+
{
68+
files: ['src/UserJS/header.js'],
69+
languageOptions: {
70+
ecmaVersion: 'latest',
71+
sourceType: 'module',
72+
globals: userJSGlobals,
73+
parserOptions
74+
},
75+
rules: {
76+
...rules,
77+
quotes: 'off',
78+
'no-unused-vars': 'off'
79+
}
80+
},
6881
{
6982
files: ['tools/*.js'],
7083
languageOptions: {
7184
ecmaVersion: 'latest',
7285
sourceType: 'module',
7386
globals: {
74-
...repoGlobals,
87+
...globals.es2021,
7588
...globals.node
7689
},
7790
parserOptions

package.json

Lines changed: 51 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
{
22
"name": "uscript-plus-firefox",
3-
"description": "Show current site all UserJS, the easier way to install UserJs for Tampermonkey.",
3+
"description": "Finds available userscripts for the current webpage.",
44
"author": "Magic <magicoflolis@tuta.io>",
55
"version": "4.0.0",
66
"license": "MIT",
77
"homepage": "https://github.com/magicoflolis/Userscript-Plus",
88
"bugs": {
9-
"url": "https://github.com/magicoflolis/Userscript-Plus/issues/new"
9+
"url": "https://github.com/magicoflolis/Magic-PH/issues/new/choose"
1010
},
1111
"userJS": {
12-
"version": "6.5.1",
12+
"version": "6.6.0",
1313
"name": "Magic Userscript+ : Show Site All UserJS",
14-
"bugs": "https://github.com/magicoflolis/Userscript-Plus/issues/new",
14+
"description": "Finds available userscripts for the current webpage.",
15+
"bugs": "https://github.com/magicoflolis/Magic-PH/issues/new/choose",
1516
"homepage": "https://github.com/magicoflolis/Userscript-Plus",
16-
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gYRBAceMUIR3QAAEg9JREFUeNrtXWlwVNW2/k4n3RkbM5FRMEHUBOIAekGMJV4lYVDBAeQ+IYTJODAVjwBXfRZFQRn04vthiQgGEOMDiylY4lB6g1CG8VFJLF4SSYiBRBDTSZM06aQzdH/vB+ccex5Id9IBV9WuJDvnnL3P+s7+9tprr723gBsUkkoAEAShG96VQABqAOHiz+EARog/7wAwGECkmMLEe/QAropJA+AigPMAKsWfbQCuianH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sZ515AHcPAlDilAwGo1sa2tjY2Mjd+3axbS0NAYGBraK4YLjxLoJuIUkAcByQRCOp6WlXVm4cKFh6tSpnDhxIquqqlhVVcXp06czOjqawcHBNpEHcHFyxalTp+Rls/v27eOKFSsYExOjFwThN1wPEV8OJ4Gyt5IocX3BQk5QUNB/x8bGfpeenv6rWq226TOSkpJ44cIFedOPzs5OajQai4OXBw0axGXLlnHChAkE0J6cnHw+Ojr6W1xfFpQjlqXyF0pwKUajMUAQBMV1n5Zg4ehSKBRd4u8q0enVZcchppKudXXdli1bAvfs2aP+448/wvV6fbhOp7uzq6srzWg03knyDpIxJCMBRHR1dYWpVCoA0Hd1dV0FcBWABsDF8PDwOpVKVaXVan8ZOXJkZ1xcXNvhw4ebxZGsRZlSfUwmk0oQBLS3t3eLwVTuOPvsvo+z9zSX/wfl+jWwZp8+ogAAAABJRU5ErkJggg==",
17-
"url": "https://github.com/magicoflolis/Userscript-Plus/releases/latest/download/magic-userjs.user.js",
17+
"icon": "./src/img/icon_64.png",
18+
"downloadURL": "https://github.com/magicoflolis/Userscript-Plus/raw/master/dist/magic-userjs.user.js",
19+
"updateURL": "https://github.com/magicoflolis/Userscript-Plus/raw/master/dist/magic-userjs.meta.js",
1820
"build": {
1921
"source": {
20-
"metadata": "./src/UserJS/metadata.js",
2122
"head": "./src/UserJS/header.js",
2223
"body": "./src/UserJS/main.js",
2324
"extras": {
2425
"mainCSS": "./build/css/magicuserjs.css"
2526
}
2627
},
27-
"watchDirs": [ "./src/UserJS/", "./src/sass/" ],
28+
"watchDirs": [
29+
"./src/UserJS/",
30+
"./src/sass/"
31+
],
2832
"paths": {
2933
"dev": {
3034
"fileName": "magic-userjs.dev",
@@ -39,78 +43,87 @@
3943
}
4044
},
4145
"metadata": {
42-
"compatible": ["chrome", "firefox", "edge", "opera", "safari"],
46+
"compatible": [
47+
"chrome",
48+
"firefox",
49+
"edge",
50+
"opera",
51+
"safari"
52+
],
4353
"connect": [
4454
"greasyfork.org",
4555
"sleazyfork.org",
4656
"github.com",
4757
"openuserjs.org"
4858
],
4959
"grant": [
50-
"GM.xmlHttpRequest",
51-
"GM.openInTab",
52-
"GM.getValue",
53-
"GM.setValue",
54-
"GM.info",
55-
"GM_xmlhttpRequest",
56-
"GM_openInTab",
60+
"GM_addElement",
61+
"GM_info",
5762
"GM_getValue",
63+
"GM_openInTab",
5864
"GM_setValue",
59-
"GM_info"
65+
"GM_xmlhttpRequest",
66+
"GM.addElement",
67+
"GM.info",
68+
"GM.getValue",
69+
"GM.openInTab",
70+
"GM.setValue",
71+
"GM.xmlHttpRequest"
6072
],
6173
"exclude": [],
6274
"include": [],
6375
"exclude-match": [],
64-
"match": [ "https://*/*" ],
76+
"match": [
77+
"https://*/*"
78+
],
6579
"noframes": true,
6680
"resource": {},
81+
"require": [],
6782
"run-at": "document-start"
6883
}
6984
},
7085
"type": "module",
7186
"scripts": {
7287
"dev:UserJS": "concurrently \"pnpm run dev:Webserver\" \"sass --no-source-map -s compressed -w ./src/sass:./build/css\" \"node ./tools/userscript.js\"",
73-
"dev:FF": "concurrently \"pnpm run dev:Sass\" \"pnpm run webpack:FF\"",
74-
"dev:Cr": "concurrently \"pnpm run dev:Sass\" \"pnpm run webpack:Cr\"",
75-
"dev:Sass": "sass --embed-sources -s compressed -w ./src/sass:./build/css",
88+
"dev:FF": "concurrently \"sass --embed-sources -s compressed -w ./src/sass:./build/firefox/css\" \"pnpm run webpack:FF\"",
89+
"dev:Cr": "concurrently \"sass --embed-sources -s compressed -w ./src/sass:./build/chrome/css\" \"pnpm run webpack:Cr\"",
7690
"dev:Webserver": "http-server ./web-server -p 9090 -s --no-dotfiles -c-1",
77-
"build:UserJS": "node -r dotenv/config ./tools/userscript.js dotenv_config_path=./dist/.env",
78-
"build:Sass": "sass --no-source-map -s compressed ./src/sass:./build/css",
79-
"pub:UserJS": "concurrently \"pnpm run build:Sass\" \"pnpm run build:UserJS\"",
91+
"pub:UserJS": "concurrently \"sass --no-source-map -s compressed ./src/sass:./build/css\" \"node -r dotenv/config ./tools/userscript.js dotenv_config_path=./dist/.env\"",
8092
"pub:FF": "webpack --mode production --config=tools/webpack.config.js --env brws=firefox",
8193
"pub:Cr": "webpack --mode production --config=tools/webpack.config.js --env brws=chrome",
8294
"webpack:Cr": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=chrome",
8395
"webpack:FF": "webpack --progress --mode development --config=tools/webpack.config.js --env brws=firefox",
8496
"web-run:firefox-android": "web-ext run --config=./tools/web-ext.js -t firefox-android --firefox-apk org.mozilla.firefox"
8597
},
8698
"devDependencies": {
87-
"@swc/cli": "^0.3.10",
88-
"@swc/core": "^1.4.2",
89-
"@types/chrome": "0.0.262",
90-
"@types/firefox-webext-browser": "120.0.1",
99+
"@swc/cli": "^0.3.12",
100+
"@swc/core": "^1.4.17",
101+
"@types/chrome": "0.0.267",
102+
"@types/firefox-webext-browser": "120.0.3",
91103
"@types/greasemonkey": "4.0.7",
92104
"@types/tampermonkey": "^5.0.2",
93105
"@violentmonkey/types": "0.1.7",
94106
"browserslist": "^4.23.0",
95107
"concurrently": "^8.2.2",
96108
"copy-webpack-plugin": "^12.0.2",
97109
"crx3": "^1.1.3",
98-
"css-loader": "^6.10.0",
110+
"css-loader": "^7.1.1",
99111
"dotenv": "^16.4.5",
100-
"eslint": "^8.57.0",
112+
"eslint": "^9.1.1",
101113
"eslint-config-prettier": "^9.1.0",
102-
"globals": "^14.0.0",
114+
"globals": "^15.1.0",
103115
"http-server": "^14.1.1",
104-
"mini-css-extract-plugin": "^2.8.1",
116+
"mini-css-extract-plugin": "^2.9.0",
105117
"node-watch": "^0.7.4",
106118
"path-browserify": "^1.0.1",
107119
"prettier": "^3.2.5",
108-
"sass": "^1.71.1",
109-
"sass-loader": "^14.1.1",
120+
"sass": "^1.76.0",
121+
"sass-loader": "^14.2.1",
110122
"swc-loader": "^0.2.6",
111123
"terser-webpack-plugin": "^5.3.10",
124+
"typescript": "^5.4.5",
112125
"web-ext": "^7.11.0",
113-
"webpack": "^5.90.3",
126+
"webpack": "^5.91.0",
114127
"webpack-cli": "^5.1.4",
115128
"webpack-merge": "^5.10.0"
116129
},
@@ -122,6 +135,7 @@
122135
"magicuserscriptplus",
123136
"userscript",
124137
"userjs",
138+
"userscript",
125139
"greasemonkey",
126140
"tampermonkey",
127141
"violentmonkey"
@@ -132,5 +146,6 @@
132146
},
133147
"engines": {
134148
"node": ">=20"
135-
}
149+
},
150+
"packageManager": "pnpm@8.15.5+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
136151
}

0 commit comments

Comments
 (0)