Skip to content

Commit 9ad9ae2

Browse files
committed
Bumped JS resources + app.commitHashes.app, added new XPath sync.spamBlock() to node observer ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/chatgpt-widescreen]
1 parent 6362329 commit 9ad9ae2

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

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

Lines changed: 8 additions & 5 deletions
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.11.2
238+
// @version 2025.11.4
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
@@ -262,8 +262,8 @@
262262
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@882c0c5/chromium/extension/lib/feedback.js#sha256-mhqPUMG1+fq9dybeU8n5B+eXuuCeUd5lLpJXRS3en1Y=
263263
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@882c0c5/chromium/extension/lib/i18n.js#sha256-byvnlCP8l97tNJfgZeXDL+fLIKmS3GaiGwy5JNdmKYI=
264264
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@c4b372d/chromium/extension/lib/settings.js#sha256-W7Dzfld01bDMsK3OnsTBLuUdtCgdoWR3Cl6ucMbzek0=
265-
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@ce7b078/chromium/extension/lib/styles.js#sha256-CWZ64rV6tQRfQpcsOR2f0YUbKgMLhZFelXTxCqBdqGk=
266-
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@f2cc4bd/chromium/extension/lib/sync.js#sha256-r0/chKRn75oNfRFL4J32zzIuBPnrW1pk/gzbZcemsAM=
265+
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@6033dd7/chromium/extension/lib/styles.js#sha256-nd6HWECxWP+m/VCRIIzTGYth05xUN459GJMp4CMDxGc=
266+
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@6033dd7/chromium/extension/lib/sync.js#sha256-RM5RswmLzWMgt9AvjZjbjttIONBEY/83paVZH5Q8a2g=
267267
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@ab7ee52/chromium/extension/lib/ui.js#sha256-5WwgnfGRtHsRP06nmjhqARB0T508syxAh5UWFMEFA+c=
268268
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@ab7ee52/chromium/extension/components/buttons.js#sha256-B1h7ZHhgwuEy8XoER0AjnWC36Rq8MViHoaZM26k7XHY=
269269
// @require https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@511d193/chromium/extension/components/icons.js#sha256-6eK7coHHFB4zBfl8XXtjojrnfbBOFiEgYfQtz/Whv2E=
@@ -326,7 +326,7 @@
326326
window.app = {
327327
version: GM_info.script.version, configKeyPrefix: `${env.site} Widescreen`,
328328
chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
329-
commitHashes: { app: 'ce211e1' } // for cached <app|messages>.json + sites.json5
329+
commitHashes: { app: '660fbb9' } // for cached <app|messages>.json + sites.json5
330330
}
331331
app.urls = {
332332
resourceHost: `https://cdn.jsdelivr.net/gh/adamlui/chatgpt-widescreen@${app.commitHashes.app}` }
@@ -820,7 +820,7 @@
820820
}
821821
}
822822

823-
// Monitor NODE CHANGES to maintain button visibility + update colors/styles
823+
// Monitor NODE CHANGES to maintain button visibility + update colors/styles + spam block
824824
let isTempChat = false, canvasWasOpen = chatgpt.canvasIsOpen(), prevPath = location.pathname
825825
new MutationObserver(async () => {
826826

@@ -849,6 +849,9 @@
849849
prevPath = location.pathname
850850
}
851851

852+
// Apply Spam Block
853+
if (!config.blockSpamDisabled && sites[env.site]?.selectors?.spam) sync.spamBlock()
854+
852855
}).observe(document[env.site == 'poe' ? 'head' : 'body'], { attributes: true, subtree: true })
853856

854857
// Monitor SCHEME PREF changes to update sidebar toggle + modal colors

0 commit comments

Comments
 (0)