Các câu trả lời gần đây cho Jump down more than 1 findbar hit (e.g. 10 hits down)https://support.mozilla.org/vi/questions/14042602023-02-09T13:52:48-08:00I ended up using my Autohotkey Script and just jumped up to the top from the bottom if need be but 2023-02-09T13:52:48-08:00timtakhttps://support.mozilla.org/vi/questions/1404260#answer-1564926<p>I ended up using my Autohotkey Script and just jumped up to the top from the bottom if need be but thank you very much indeed to Cor-el for the javascript, which I will mark as solving the problem for those who know how to use the console.
</p><p>Thanks again,
Tim
</p>I did some final edits and the current code works in more cases.
You can toggle a setting "Highlight2023-02-04T15:07:04-08:00cor-elhttps://support.mozilla.org/vi/questions/1404260#answer-1564018<p>I did some final edits and the current code works in more cases.
You can toggle a setting "Highlight All" to force a repaint of the find bar if the results go missing.
If necessary close and reopen the Browser Console as tab or window changes can cause issues.
</p>Thanks again Corel
Alas i am not getting this to work, in my stupidity. A dialogue popped up telling2023-02-04T14:51:58-08:00timtakhttps://support.mozilla.org/vi/questions/1404260#answer-1564017<p>Thanks again Corel
</p><p>Alas i am not getting this to work, in my stupidity. A dialogue popped up telling me I was on search item number 2 but the focus did not jump.
</p><p>I am just using my mouse and or the autohotkey when I have a lot of clicking to do. I have moved the findbar to above the main window with some CSS to userchrome from this forum which helps.
</p>Looks like it is even more complicated than I thought as there can be more (hidden) findbar-containe2023-02-04T14:46:06-08:00cor-elhttps://support.mozilla.org/vi/questions/1404260#answer-1564016<p>Looks like it is even more complicated than I thought as there can be more (hidden) findbar-containers.
Hopefully this new code does work.
</p>Shift + enter only adds a line break.
You need to press Enter or use the special editor (click the i2023-02-04T12:46:23-08:00cor-elhttps://support.mozilla.org/vi/questions/1404260#answer-1564002<p>Shift + enter only adds a line break.
You need to press Enter or use the special editor (click the icon at the far right on the command line).
</p>Cor-el
Thank you very much indeed!
I think that my Autohotkey script will jump backwards (though it 2023-02-04T11:39:46-08:00timtakhttps://support.mozilla.org/vi/questions/1404260#answer-1563995<p>Cor-el
</p><p>Thank you very much indeed!
</p><p>I think that my Autohotkey script will jump backwards (though it also turns off the count so I am not quite sure) so all I need is jump forwards.
</p><p>But your console code is too difficult for me to understand.
</p><p>I changed about:config devtools.chrome.enabled to true,
pressed Shift Ctrl J
pasted the above code into the funnel icon single line bar at the top of the console
pressed Shift Enter,
and nothing happened.
</p><p>I think I would need it to be triggered by a key.
</p><p>Should you be so kind as to help more I would be very grateful.
</p><p>Tim
</p>I've made a few changes to the above posted code, so make sure you use the latest version.
2023-02-04T09:34:45-08:00cor-elhttps://support.mozilla.org/vi/questions/1404260#answer-1563973<p>I've made a few changes to the above posted code, so make sure you use the latest version.
</p>I tried some JavaScript in the Browser Console to see if I can come up with something, but is seems 2023-02-04T09:06:43-08:00cor-elhttps://support.mozilla.org/vi/questions/1404260#answer-1563969<p>I tried some JavaScript in the Browser Console to see if I can come up with something, but is seems to be rather difficult.
I need to toggle "Highlight All" to make this work properly (i.e. make Firefox show the highlight), so use at your own risk.
</p>
<ul><li><a href="https://firefox-source-docs.mozilla.org/devtools-user/browser_console/" rel="nofollow">https://firefox-source-docs.mozilla.org/devtools-user/browser_console/</a>
</li></ul>
<hr>
<pre>/* go to Find bar result */
var E=document.querySelector('.findbar-label.found-matches:not([hidden])');
try{
var D=JSON.parse(E.dataset.l10nArgs);
var C=D.current;
var T=D.total;
var L=D.limit;
var S=D.searchString;
var G=prompt('Search: "'+S+'"\nCurrent: '+C+'\nTotal: '+T,C);
if(G&lt;1){G=1}
if(G&gt;T){G=T}
if(G&gt;=1 &amp;&amp; G&lt;=T){
console.log('searchString:"',S,'"Current:',C,'Total:',T,'Limit:',L,'Go:',G);
if(C&lt;G){for(var i=C;i&lt;G;i++){E.parentNode.querySelector('.findbar-find-next').click()}}
if(C&gt;G){for(var i=C;i&gt;G;i--){E.parentNode.querySelector('.findbar-find-previous').click()}}
}
setTimeout(function(){
var E=document.querySelector('.findbar-label.found-matches:not([hidden])');
var D=JSON.parse(E.dataset.l10nArgs);
console.log('Current:',D.current);
},1000);
}catch(e){alert(e)}
</pre><br>Beyond the standard HotKeys for the Browser anything that changes or mods keystrokes would be up to 2023-02-04T06:21:19-08:00Dropahttps://support.mozilla.org/vi/questions/1404260#answer-1563941<p>Beyond the standard HotKeys for the Browser anything that changes or mods keystrokes would be up to 3rd party software to do or userChrome.css sites to make those changes.
</p>I created this authotkey script which sends shift Ctrl G ten times when I press F4
F4::
{
Send ^+G
S2023-02-03T15:53:44-08:00timtakhttps://support.mozilla.org/vi/questions/1404260#answer-1563820<p>I created this authotkey script which sends shift Ctrl G ten times when I press F4
</p><p>F4::
{
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
Send ^+G
}
</p><p>But the strange thing is that the Sending just ^G which should be Ctrl G goes up as well.
Likewise Send +^G
I can jump up 10 at a time.
</p>