diff --git a/chrome/extension/content.js b/chrome/extension/content.js index 8c3faa04..ae3c275c 100644 --- a/chrome/extension/content.js +++ b/chrome/extension/content.js @@ -153,7 +153,7 @@ !(type == 'fullWindow' && !sites[env.site].hasSidebar) && !(type == 'wideScreen' && chatgpt.canvasIsOpen())) const bOffset = env.site == 'poe' ? -1.5 : env.site == 'perplexity' ? -13 : env.tallChatbar ? 31 : -8.85 - const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 47 : -0.25 + const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 48 : -0.25 validBtnTypes.forEach(async (btnType, idx) => { this[btnType] = dom.create.elem('div') this[btnType].id = btnType + '-btn' // for toggle.tooltip() @@ -337,7 +337,7 @@ : env.site == 'poe' ? 45 : 13 ) +25 const spreadFactor = env.site == 'perplexity' ? 26.5 : env.site == 'poe' ? 34 : 30.55 const iniRoffset = spreadFactor * ( visibleBtnTypes.indexOf(btnType) +1 ) + ctrAddend - + ( env.tallChatbar ? -3 : 4 ) + + ( env.tallChatbar ? -2 : 4 ) tooltipDiv.innerText = chrome.i18n.getMessage('tooltip_' + btnType + ( !/full|wide/i.test(btnType) ? '' : (config[btnType] ? 'OFF' : 'ON'))) tooltipDiv.style.right = `${ // x-pos diff --git a/firefox/extension/content.js b/firefox/extension/content.js index a6bdeb98..f7efab3b 100644 --- a/firefox/extension/content.js +++ b/firefox/extension/content.js @@ -153,7 +153,7 @@ !(type == 'fullWindow' && !sites[env.site].hasSidebar) && !(type == 'wideScreen' && chatgpt.canvasIsOpen())) const bOffset = env.site == 'poe' ? -1.5 : env.site == 'perplexity' ? -13 : env.tallChatbar ? 31 : -8.85 - const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 47 : -0.25 + const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 48 : -0.25 validBtnTypes.forEach(async (btnType, idx) => { this[btnType] = dom.create.elem('div') this[btnType].id = btnType + '-btn' // for toggle.tooltip() @@ -337,7 +337,7 @@ : env.site == 'poe' ? 45 : 13 ) +25 const spreadFactor = env.site == 'perplexity' ? 26.5 : env.site == 'poe' ? 34 : 30.55 const iniRoffset = spreadFactor * ( visibleBtnTypes.indexOf(btnType) +1 ) + ctrAddend - + ( env.tallChatbar ? -3 : 4 ) + + ( env.tallChatbar ? -2 : 4 ) tooltipDiv.innerText = chrome.i18n.getMessage('tooltip_' + btnType + ( !/full|wide/i.test(btnType) ? '' : (config[btnType] ? 'OFF' : 'ON'))) tooltipDiv.style.right = `${ // x-pos diff --git a/greasemonkey/chatgpt-widescreen-mode.user.js b/greasemonkey/chatgpt-widescreen-mode.user.js index ee383577..adea7108 100644 --- a/greasemonkey/chatgpt-widescreen-mode.user.js +++ b/greasemonkey/chatgpt-widescreen-mode.user.js @@ -222,7 +222,7 @@ // @description:zu Yengeza Isikrini Esibanzi + Izindlela Zesikrini Esigcwele ku-chatgpt.com + perplexity.ai + poe.com ukuze uthole ukubuka okuthuthukisiwe + okuncishisiwe ukuskrola // @author Adam Lui // @namespace https://github.com/adamlui -// @version 2024.12.12.3 +// @version 2024.12.12.4 // @license MIT // @icon https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?9a393be // @icon64 https://media.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?9a393be @@ -585,7 +585,7 @@ !(type == 'fullWindow' && !sites[env.site].hasSidebar) && !(type == 'wideScreen' && chatgpt.canvasIsOpen())) const bOffset = env.site == 'poe' ? -1.5 : env.site == 'perplexity' ? -13 : env.tallChatbar ? 31 : -8.85 - const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 47 : -0.25 + const rOffset = env.site == 'poe' ? -6 : env.site == 'perplexity' ? -4 : env.tallChatbar ? 48 : -0.25 validBtnTypes.forEach(async (btnType, idx) => { this[btnType] = dom.create.elem('div') this[btnType].id = btnType + '-btn' // for toggle.tooltip() @@ -770,7 +770,7 @@ : env.site == 'poe' ? 45 : 13 ) +25 const spreadFactor = env.site == 'perplexity' ? 26.5 : env.site == 'poe' ? 34 : 30.55 const iniRoffset = spreadFactor * ( visibleBtnTypes.indexOf(btnType) +1 ) + ctrAddend - + ( env.tallChatbar ? -3 : 4 ) + + ( env.tallChatbar ? -2 : 4 ) tooltipDiv.innerText = app.msgs['tooltip_' + btnType + ( !/full|wide/i.test(btnType) ? '' : (config[btnType] ? 'OFF' : 'ON'))] tooltipDiv.style.right = `${ // x-pos