Skip to content

Commit 4c73ec4

Browse files
committed
Added hide Perplexity notice on GitHub ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent 7905759 commit 4c73ec4

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

chatgpt/chatgpt-widescreen/chatgpt-widescreen-mode.user.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
// @description:zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-poe.com!
236236
// @author Adam Lui
237237
// @namespace https://github.com/adamlui
238-
// @version 2025.9.7
238+
// @version 2025.9.16
239239
// @license MIT
240240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241241
// @icon64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
@@ -249,6 +249,7 @@
249249
// @compatible ghost
250250
// @compatible qq
251251
// @match *://chatgpt.com/*
252+
// @match *://github.com/*
252253
// @match *://poe.com/*
253254
// @connect cdn.jsdelivr.net
254255
// @connect gm.chatgptwidescreen.com
@@ -290,6 +291,13 @@
290291

291292
(async () => {
292293

294+
// Hide Perplexity on GitHub if found
295+
if (location.pathname.includes('chatgpt-widescreen')) {
296+
const perplexityAlert = [...document.querySelectorAll('.markdown-alert')]
297+
.find(alert => alert.textContent.includes('Perplexity'))
298+
if (perplexityAlert) perplexityAlert.style.display = 'none'
299+
}
300+
293301
// Init DATA
294302
window.env = {
295303
browser: {

0 commit comments

Comments
 (0)