Closed heyitsmdr closed 10 months ago
Only had a very basic look, this looks really solid and I like this feature. Really, really like the look and feel of it.
Worth noting that binding this to Ctrl + K will override a native browser feature (at least in chrome, it jumps to the address bar to search google), however I agree that this keybind makes more sense than any alternative I can think of.
I added an additional feature that lets you <TAB>
on Item Market
to search the item market for a specific item. The market value displays next to each item, and as with pages, the default view will show you the top most recent item searches you've performed.
If you don't have torn data available (i.e. no API access), you won't have the ability to <TAB>
on the Item Market entry, and it will appear as a normal page listing.
Demo:
https://github.com/Mephiles/torntools_extension/assets/341416/aa19c9cc-d2e1-49dc-88c2-f3de568a2405
This is better suited as a userscript rather than as part of TornTools.
This adds a new "page jumper" feature which can be activated while anywhere on Torn.
Press
Ctrl + K
(on Windows) and⌘ + K
(on Mac) to open the page jumper. I chose this key combination since it is a common combination for some form of universal search (like right on GitHub with git repos).Features
<TAB>
whenCity
is selected in the results list.<TAB>
whenItem Market
is selected in the results list (separate demonstration of this here).ENTER
to select a page and jump right to it. Alternatively, pressShift + ENTER
to open the page in a new tab.Demonstration
https://github.com/Mephiles/torntools_extension/assets/341416/4e2de5cd-a71b-471c-bb99-3b3fc49bf505
Settings Panel