diff --git a/googlegpt/LICENSE.md b/googlegpt/LICENSE.md index 82e5a1b267..bf1b7f543b 100644 --- a/googlegpt/LICENSE.md +++ b/googlegpt/LICENSE.md @@ -12,7 +12,7 @@ # 🏛️ MIT License -**Copyright © 2023–2024 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors).** +**Copyright © 2023–2024 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors). .** Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/googlegpt/greasemonkey/LICENSE.md b/googlegpt/greasemonkey/LICENSE.md index 82e5a1b267..bf1b7f543b 100644 --- a/googlegpt/greasemonkey/LICENSE.md +++ b/googlegpt/greasemonkey/LICENSE.md @@ -12,7 +12,7 @@ # 🏛️ MIT License -**Copyright © 2023–2024 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors).** +**Copyright © 2023–2024 [KudoAI](https://github.com/KudoAI) & [contributors](.#-contributors). .** Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/googlegpt/greasemonkey/googlegpt.user.js b/googlegpt/greasemonkey/googlegpt.user.js index 66f1323539..e8bb602616 100644 --- a/googlegpt/greasemonkey/googlegpt.user.js +++ b/googlegpt/greasemonkey/googlegpt.user.js @@ -149,7 +149,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2024.8.17 +// @version 2024.8.16.9 // @license MIT // @icon https://media.googlegpt.io/images/icons/googlegpt/black/icon48.png?8652a6e // @icon64 https://media.googlegpt.io/images/icons/googlegpt/black/icon64.png?8652a6e @@ -2129,11 +2129,10 @@ .filter(type => { // exclude invisible ones const btn = appDiv.querySelector(`#${type}-btn`) return btn && getComputedStyle(btn).display != 'none' }) - const chatbarBtnTypes = ['send', 'shuffle'] const [ctrAddend, spreadFactor] = [8, 28], - iniRoffset = ctrAddend + spreadFactor * ( - cornerBtnTypes.includes(btnType) ? cornerBtnTypes.indexOf(btnType) +1 - : chatbarBtnTypes.indexOf(btnType) +1.35 ) + iniRoffset = spreadFactor * ( btnType == 'send' ? 1.35 + : btnType == 'shuffle' ? 2.25 + : cornerBtnTypes.indexOf(btnType) +1 ) + ctrAddend // Update text tooltipDiv.innerText = ( btnType == 'chevron' ? ( config.minimized ? `${ msgs.tooltip_restore || 'Restore' }` @@ -2150,7 +2149,7 @@ : btnType == 'shuffle' ? msgs.tooltip_feelingLucky || 'I\'m Feeling Lucky' : '' ) // Update position - tooltipDiv.style.top = `${ cornerBtnTypes.includes(btnType) ? -13 + tooltipDiv.style.top = `${ !/send|shuffle/.test(btnType) ? -13 : tooltipDiv.eventYpos - appDiv.getBoundingClientRect().top - 36 }px` tooltipDiv.style.right = `${ iniRoffset - tooltipDiv.getBoundingClientRect().width / 2 }px` },