diff --git a/injected/chat-logger.js b/injected/chat-logger.js index dbe8018..7b05000 100644 --- a/injected/chat-logger.js +++ b/injected/chat-logger.js @@ -216,6 +216,7 @@ }) } + try { var __ofF1 = window.fetch; window.fetch = function (u, o) { try { var __us1 = (typeof u === 'string') ? u : ((u && u.url) ? String(u.url) : ''); if (__us1.indexOf('chat/completion') !== -1) { fetchTotal = fetchTotal + 1 } } catch (e) { } return __ofF1.apply(this, arguments) } } catch (e) { } var origOpen = XMLHttpRequest.prototype.open var origSend = XMLHttpRequest.prototype.send XMLHttpRequest.prototype.open = function (m, u) {