Skip to content

Commit

Permalink
Renamed app.cssPrefix to app.slug
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Jan 19, 2025
1 parent 27bb4cc commit 51844ec
Show file tree
Hide file tree
Showing 19 changed files with 639 additions and 639 deletions.
250 changes: 125 additions & 125 deletions amazongpt/greasemonkey/amazongpt.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion autoclear-chatgpt-history/assets/data/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Autoclear ChatGPT History", "symbol": "🕶️", "cssPrefix": "autoclear-chatgpt-history",
"name": "Autoclear ChatGPT History", "symbol": "🕶️", "slug": "autoclear-chatgpt-history",
"author": { "name": "Adam Lui", "url": "https://github.com/adamlui" },
"urls": {
"chatgptJS": "https://chatgpt.js.org",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.18.1
// @version 2025.1.19
// @license MIT
// @icon https://assets.autoclearchatgpt.com/images/icons/openai/black/icon48.png?v=f461c06
// @icon64 https://assets.autoclearchatgpt.com/images/icons/openai/black/icon64.png?v=f461c06
Expand Down Expand Up @@ -487,7 +487,7 @@

const modals = {
stack: [], // of types of undismissed modals
class: `${app.cssPrefix}-modal`,
class: `${app.slug}-modal`,

alert(title = '', msg = '', btns = '', checkbox = '', width = '') { // generic one from chatgpt.alert()
const alertID = chatgpt.alert(title, msg, btns, checkbox, width),
Expand Down Expand Up @@ -764,7 +764,7 @@
const toggles = {

sidebar: {
class: `${app.cssPrefix}-sidebar-toggle`,
class: `${app.slug}-sidebar-toggle`,

create() {

Expand Down
326 changes: 163 additions & 163 deletions bravegpt/greasemonkey/bravegpt.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion chatgpt-auto-continue/assets/data/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ChatGPT Auto-Continue", "symbol": "", "cssPrefix": "chatgpt-auto-continue",
"name": "ChatGPT Auto-Continue", "symbol": "", "slug": "chatgpt-auto-continue",
"author": { "name": "Adam Lui", "url": "https://github.com/adamlui" },
"urls": {
"chatgptJS": "https://chatgpt.js.org",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
// @description:zu *NGOKUPHEPHA* susa ukusetha kabusha ingxoxo yemizuzu eyi-10 + amaphutha enethiwekhi ahlala njalo + Ukuhlolwa kwe-Cloudflare ku-ChatGPT.
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.18.1
// @version 2025.1.19
// @license MIT
// @icon https://assets.chatgptautorefresh.com/images/icons/openai/black/icon48.png?v=f11a0a8
// @icon64 https://assets.chatgptautorefresh.com/images/icons/openai/black/icon64.png?v=f11a0a8
Expand Down Expand Up @@ -282,7 +282,7 @@

// Init APP data
const app = {
name: 'ChatGPT Auto Refresh', version: GM_info.script.version, symbol: '↻', cssPrefix: 'chatgpt-auto-refresh',
name: 'ChatGPT Auto Refresh', version: GM_info.script.version, symbol: '↻', slug: 'chatgpt-auto-refresh',
configKeyPrefix: 'chatGPTautoRefresh', chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
author: { name: 'Adam Lui', url: 'https://github.com/adamlui' },
urls: {
Expand Down Expand Up @@ -521,7 +521,7 @@

const modals = {
stack: [], // of types of undismissed modals
class: `${app.cssPrefix}-modal`,
class: `${app.slug}-modal`,

alert(title = '', msg = '', btns = '', checkbox = '', width = '') { // generic one from chatgpt.alert()
const alertID = chatgpt.alert(title, msg, btns, checkbox, width),
Expand Down Expand Up @@ -798,7 +798,7 @@
const toggles = {

sidebar: {
class: `${app.cssPrefix}-sidebar-toggle`,
class: `${app.slug}-sidebar-toggle`,

create() {

Expand Down
8 changes: 4 additions & 4 deletions chatgpt-auto-talk/greasemonkey/chatgpt-auto-talk.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
// @description:zu Dlala izimpendulo ze-ChatGPT ngokuzenzakalela
// @author Adam Lui
// @namespace https://github.com/adamlui
// @version 2025.1.18.1
// @version 2025.1.19
// @license MIT
// @icon https://assets.chatgptautotalk.com/images/icons/openai/black/icon48.png?v=9f1ed3c
// @icon64 https://assets.chatgptautotalk.com/images/icons/openai/black/icon64.png?v=9f1ed3c
Expand Down Expand Up @@ -275,7 +275,7 @@

// Init APP data
const app = {
name: 'ChatGPT Auto-Talk', version: GM_info.script.version, symbol: '📣', cssPrefix: 'chatgpt-auto-talk',
name: 'ChatGPT Auto-Talk', version: GM_info.script.version, symbol: '📣', slug: 'chatgpt-auto-talk',
configKeyPrefix: 'chatGPTautoTalk', chatgptJSver: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
author: { name: 'Adam Lui', url: 'https://github.com/adamlui' },
urls: {
Expand Down Expand Up @@ -472,7 +472,7 @@

const modals = {
stack: [], // of types of undismissed modals
class: `${app.cssPrefix}-modal`,
class: `${app.slug}-modal`,

alert(title = '', msg = '', btns = '', checkbox = '', width = '') { // generic one from chatgpt.alert()
const alertID = chatgpt.alert(title, msg, btns, checkbox, width),
Expand Down Expand Up @@ -748,7 +748,7 @@
const toggles = {

sidebar: {
class: `${app.cssPrefix}-sidebar-toggle`,
class: `${app.slug}-sidebar-toggle`,

create() {

Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/assets/data/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ChatGPT Infinity", "symbol": "", "cssPrefix": "chatgpt-infinity",
"name": "ChatGPT Infinity", "symbol": "", "slug": "chatgpt-infinity",
"author": { "name": "Adam Lui", "url": "https://github.com/adamlui" },
"urls": {
"chatgptJS": "https://chatgpt.js.org",
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/chrome/extension/components/modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/chrome/extension/components/toggles.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ window.toggles = {
return typeof GM_info != 'undefined' ? this.imports.app.msgs[key] : chrome.i18n.getMessage(key) },

sidebar: {
get class() { return `${toggles.imports.app.cssPrefix}-sidebar-toggle` },
get class() { return `${toggles.imports.app.slug}-sidebar-toggle` },

create() {

Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/firefox/extension/components/modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-infinity/firefox/extension/components/toggles.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ window.toggles = {
return typeof GM_info != 'undefined' ? this.imports.app.msgs[key] : chrome.i18n.getMessage(key) },

sidebar: {
get class() { return `${toggles.imports.app.cssPrefix}-sidebar-toggle` },
get class() { return `${toggles.imports.app.slug}-sidebar-toggle` },

create() {

Expand Down
2 changes: 1 addition & 1 deletion chatgpt-widescreen/assets/data/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ChatGPT Widescreen Mode", "symbol": "🖥️", "cssPrefix": "chatgpt-widescreen",
"name": "ChatGPT Widescreen Mode", "symbol": "🖥️", "slug": "chatgpt-widescreen",
"author": { "name": "Adam Lui", "url": "https://github.com/adamlui" },
"urls": {
"chatgptJS": "https://chatgpt.js.org",
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-widescreen/chrome/extension/components/modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
2 changes: 1 addition & 1 deletion chatgpt-widescreen/firefox/extension/components/modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

window.modals = {
stack: [], // of types of undismissed modals
get class() { return `${this.imports.app.cssPrefix}-modal` },
get class() { return `${this.imports.app.slug}-modal` },

imports: {
import(deps) { // { app, env, updateCheck (userscript only) }
Expand Down
Loading

0 comments on commit 51844ec

Please sign in to comment.