From 343828d01879fa5d7ea1ecf4069062296f288311 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 1 Nov 2024 03:21:01 +0100 Subject: [PATCH] Modifiy stealth mode --- src/build.xpi | Bin 0 -> 22396 bytes src/content.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++ src/manifest.json | 4 ++-- 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 src/build.xpi diff --git a/src/build.xpi b/src/build.xpi new file mode 100644 index 0000000000000000000000000000000000000000..3bfa8bd943726d041251c6d440b336bd991d10a1 GIT binary patch literal 22396 zcmbTdW2|UVvn{x7+qP}nwr$(CZSS*f+qTcPZCic5o9^4W?{%k>p2?`S=8su3sYqj2N@7H-=V6MsTLwIRnXKjcJH3TnmMKZI8aVJ6M}rZ zOKCUsA1$q$e^z4DMi$i$z1ysj;d-#gZfJD5OGZ#qu|9H6(%wM#;}(Jem;sq;5?L1; zQzCg*j)2bIdH6)d&3+C#Zce!C2`zb0g_#^4r@#jJ#DG+GRA*3~ON-x^-Y^I+^VbkI z6q8=ii5a~++6=jB70tEeM5KCc_wc_l$PB*-P-cdS9p7Hab9W7+AbNb)uAgQv7!3N| z50WeVcOXFX^)&-GM4k~~000sw0RW)>1;W_g&c)Qu<^PJp8@jv`8QJB%Pb>3t{ z`nk~$bYMbmOtc`E-N-{}D<+dV{M+E0=F~twqrw2HSxp&4N-!l=`Rf<04uoPWJ+VFG z$%6(;gBHC#(nSAsLnmc1D>=Ik$HNe(_pJZAgA4bI@f1E3T&xdff$zH`2!Vdy#dKL< zFzGqK)z!s-kW4e;DEAhWrY7_2E1RXO_v7-=cmf^7P*d-BOLJTQyaZB5@Oy1E?vYRq3g=H%2JZ7Hr)l6z| zQU0j;b))PQ#N3B!_B6VH+>28?q0w^UGR4H0%xoM876P8w^?-5$O5@%uPkJD>f*z88 zApNMsApo0D6Ql4OzoY|o02G%#+{#KO`5k791kKnn>+}x_vu*(`WPW-FX&iHs{sZMl z!vLH>?7Y0i(_K@E*(3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wDX(!xLasjZC6U?M1P$BqYT$-73LeqiqXEfTGJ|?$ zoVG!ZDDLCS66XNe=te>e*WETkisMe4Zq%CB6$Zo_WmtT8f5Ya8%!!;7mf$WM2h0X?BCmkf|!6W<{aU*r<%fp#q)e zlL@*;e|qX9;nTI$+$7bHGP9WY1T1kFRre?GI;(41taCEMk5Hd7Xe)Ih3309lCUM(yo zuc<7miCCC$R)LuXr5G}I=H`Z*(ctuM2H!SbdIjY}9H+zuTkI!NYIH%d40BJTrie@M zv+JLjR#NiB8u4_K%2+09`Ye!_Z^SyAi0>aY+fOD!SNaf5LX(w?lDnR>-{T!_KGrrC z=S49moU%v-=-;xDtSx+HHO2jg(!&mY^huy=-(lyxuJo;S8C&N2f>tj*1sq+8OT-b? zaH=AOLhAjJ@zY|L{&$*P;p@GwTzIv>Yk;;IGJqE4pLC%Vw}AoDO)P+v2f6+ACwVB^ zPkHE{5`kZle-&^3ip07h|El4<;oWLD|CaYp(w(2Y+Zo2T4CrRG`n!VXhIOmp`CHb{ z*Zr%2=Xcia>t_5v>km4ff5ZOw5&t-R{}p>8`1>RNhW*bd{(qzXaVGpL^}X<~)ZZt> z{~Ps>gP>oj6ym>9e;*6|8}*;^q@UEE>xfkz3F%Mi(hc%&lBHkQ(O;v7Uy)jhNdM{N zeg+XYyxSn+U;g{Q_JY6i@HKwt-FAjIwA;?`FEq5<-4Hh_S!^WH8)q(;-tFE00l|Nx Ai~s-t literal 0 HcmV?d00001 diff --git a/src/content.js b/src/content.js index 20cb3aa..f7879d5 100644 --- a/src/content.js +++ b/src/content.js @@ -87,7 +87,55 @@ const handleStealthTyping = (event) => { } }; +const findQuestionTextAbove = (inputElement) => { + const inputRect = inputElement.getBoundingClientRect(); + const spans = Array.from( + document.querySelectorAll("span.text-format-content"), + ); + + return ( + spans + .filter((span) => { + const spanRect = span.getBoundingClientRect(); + return ( + spanRect.bottom <= inputRect.top && + Math.abs(spanRect.left - inputRect.left) < 200 + ); // Allow some horizontal tolerance + }) + .sort((a, b) => { + const aRect = a.getBoundingClientRect(); + const bRect = b.getBoundingClientRect(); + return bRect.bottom - aRect.bottom; // Get the closest span above + })[0] + ?.textContent.trim() || null + ); +}; + const activateStealthMode = async () => { + const activeElement = document.activeElement; + const isInputField = activeElement.matches( + 'input[type="text"], input:not([type]), textarea', + ); + + if (isInputField) { + // Input field is focused, find question text above + const questionText = findQuestionTextAbove(activeElement); + if (questionText) { + try { + stealthAnswer = await queryLLM(questionText); + stealthMode = true; + stealthFields.add(activeElement); + activeElement.addEventListener("keypress", handleStealthTyping); + } catch (error) { + console.error("Error activating stealth mode:", error); + stealthMode = false; + stealthAnswer = null; + } + } + return; + } + + // Original selection-based functionality const selection = window.getSelection(); const selectedText = selection.toString().trim(); diff --git a/src/manifest.json b/src/manifest.json index 9df21a0..69c63ac 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -35,13 +35,13 @@ }, "fill-input": { "suggested_key": { - "default": "Ctrl+Shift+0" + "default": "Ctrl+Alt+Space" }, "description": "Process question and fill into nearest input field" }, "toggle-stealth": { "suggested_key": { - "default": "Ctrl+Shift+Space" + "default": "Ctrl+E" }, "description": "Toggle stealth mode" }