File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
chatgpt/autoclear-chatgpt-history Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 225
225
// @description :zu Ziba itshala lokucabanga okuzoshintshwa ngokuzenzakalelayo uma ukubuka chatgpt.com
226
226
// @author Adam Lui
227
227
// @namespace https://github.com/adamlui
228
- // @version 2025.4.2
228
+ // @version 2025.4.11
229
229
// @license MIT
230
230
// @icon https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@f461c06/assets/images/icons/openai/black/icon48.png
231
231
// @icon 64 https://cdn.jsdelivr.net/gh/adamlui/autoclear-chatgpt-history@f461c06/assets/images/icons/openai/black/icon64.png
239
239
// @compatible ghost
240
240
// @compatible qq
241
241
// @match *://chatgpt.com/*
242
+ // @match *://github.com/adamlui/autoclear-chatgpt-history*
243
+ // @match *://github.com/adamlui/ai-web-extensions/*/autoclear-chatgpt-history*
244
+ // @match *://github.com/adamlui/userscripts/*/autoclear-chatgpt-history*
242
245
// @connect cdn.jsdelivr.net
243
246
// @connect autoclearchatgpt.com
244
247
// @connect raw.githubusercontent.com
267
270
268
271
( async ( ) => {
269
272
273
+ // Hide GF alert on GitHub if found
274
+ if ( location . host == 'github.com' ) {
275
+ const gfAlert = [ ...document . querySelectorAll ( '.markdown-alert' ) ]
276
+ . find ( alert => alert . textContent . includes ( 'Greasy Fork' ) )
277
+ return ! gfAlert ? undefined : gfAlert . style . display = 'none'
278
+ }
279
+
270
280
// Init ENV context
271
281
const env = {
272
282
browser : { language : chatgpt . getUserLanguage ( ) , isMobile : chatgpt . browser . isMobile ( ) } ,
You can’t perform that action at this time.
0 commit comments