Skip to content

Commit 820c496

Browse files
committed
1 parent bd01145 commit 820c496

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

chatgpt/chatgpt-auto-continue/chatgpt-auto-continue.user.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,14 @@
219219
// @description:zu ⚡ Terus menghasilkan imibuzo eminingi ye-ChatGPT ngokwesizulu
220220
// @author Adam Lui
221221
// @namespace https://github.com/adamlui
222-
// @version 2025.4.6
222+
// @version 2025.4.11
223223
// @license MIT
224224
// @icon https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon48.png
225225
// @icon64 https://cdn.jsdelivr.net/gh/adamlui/chatgpt-auto-continue@a8c9387/assets/images/icons/continue-symbol/black/icon64.png
226226
// @match *://chatgpt.com/*
227+
// @match *://github.com/adamlui/chatgpt-auto-continue*
228+
// @match *://github.com/adamlui/ai-web-extensions/*/chatgpt-auto-continue*
229+
// @match *://github.com/adamlui/userscripts/*/chatgpt-auto-continue*
227230
// @connect cdn.jsdelivr.net
228231
// @connect chatgptautocontinue.com
229232
// @connect raw.githubusercontent.com
@@ -255,6 +258,13 @@
255258

256259
(async () => {
257260

261+
// Hide GF alert on GitHub if found
262+
if (location.host == 'github.com') {
263+
const gfAlert = [...document.querySelectorAll('.markdown-alert')]
264+
.find(alert => alert.textContent.includes('Greasy Fork'))
265+
return !gfAlert ? undefined : gfAlert.style.display = 'none'
266+
}
267+
258268
// Init ENV context
259269
const env = {
260270
browser: {

0 commit comments

Comments
 (0)