Skip to content

Commit

Permalink
Add @connect *
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleEndu committed Jul 20, 2023
1 parent 74591fe commit 6a1bee2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 32 deletions.
23 changes: 12 additions & 11 deletions dist/templateManager.user.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@

// ==UserScript==
// @name template-manager
// @version 0.5.7
// @description Manages your templates on various canvas games
// @author LittleEndu, Mikarific, April
// @license MIT
// @grant GM.xmlHttpRequest
// @grant GM.setValue
// @grant GM.getValue
// @namespace littleendu.xyz
// @downloadURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js
// @updateURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js
// @match https://pxls.space/
// @match https://new.reddit.com/r/place/*
// @match https://www.reddit.com/r/place/*
Expand All @@ -16,9 +11,15 @@
// @match https://www.twitch.tv/otknetwork/*
// @match https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/*
// @match https://place.ludwig.gg/*
// @namespace littleendu.xyz
// @updateURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js
// @downloadURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js
// @grant GM.xmlHttpRequest
// @grant GM.setValue
// @grant GM.getValue
// @connect *
// @name template-manager
// @version 0.5.7
// @description Manages your templates on various canvas games
// @author LittleEndu, Mikarific, April
// @license MIT
//
// Created with love using Gorilla
// ==/UserScript==
Expand Down
21 changes: 21 additions & 0 deletions gorilla.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"namespace": "littleendu.xyz",
"downloadURL": "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js",
"updateURL": "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js",
"match": [
"https://pxls.space/",
"https://new.reddit.com/r/place/*",
"https://www.reddit.com/r/place/*",
"https://garlic-bread.reddit.com/embed*",
"https://hot-potato.reddit.com/embed*",
"https://www.twitch.tv/otknetwork/*",
"https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/*",
"https://place.ludwig.gg/*"
],
"grant": [
"GM.xmlHttpRequest",
"GM.setValue",
"GM.getValue"
],
"connect": "*"
}
22 changes: 1 addition & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,13 @@
"main": "main.ts",
"scripts": {
"test": "echo \\\"Test command\\\" && exit 0",
"build": "gorilla --input ./main.ts --output ./dist/templateManager.user.js"
"build": "gorilla --input ./main.ts --output ./dist/templateManager.user.js --config gorilla.json"
},
"author": "LittleEndu, Mikarific, April",
"license": "MIT",
"dependencies": {
"@types/greasemonkey": "^4.0.4"
},
"gorilla": {
"namespace": "littleendu.xyz",
"downloadURL" : "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js",
"updateURL" : "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js",
"match": [
"https://pxls.space/",
"https://new.reddit.com/r/place/*",
"https://www.reddit.com/r/place/*",
"https://garlic-bread.reddit.com/embed*",
"https://hot-potato.reddit.com/embed*",
"https://www.twitch.tv/otknetwork/*",
"https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/*",
"https://place.ludwig.gg/*"
],
"grant": [
"GM.xmlHttpRequest",
"GM.setValue",
"GM.getValue"
]
},
"devDependencies": {
"gorilla-build": "^0.1.16"
}
Expand Down

0 comments on commit 6a1bee2

Please sign in to comment.