I got tired of having to navigate to thebluealliance.com, click on the search bar, and then type in the team/event name every time I wanted to look up a team. So I made a quick Google Chrome extension that allows you to highlight a team number, right click, and find them on TBA. You can also click on the extension icon and search that way. This works for team numbers, event codes, or any search term (as if you searched for it on TBA).
Pro tip #2: in Chrome, you can type “thebluealliance.com” until it autocompletes (usually “t” is enough for me), hit tab to start a site search, and then type any team number or event key to navigate directly to the page.
Edit: Extension is neat though. Much more reliable than the autocomplete.
This is good until you’re too quick on the enter key and now Google wants to search for the letter t every time you hit it. So you have to switch to th and then the cycle starts all over again.
Is this (or can it be) open source? I’ve been curious about the world of chrome extensions for a while, and imagine this is relatively simple code for me to get started playing with.
I use the Search Engine functionality built into Google Chrome. Typing “tba 254” and “tba chcmp” takes me to the TBA pages for 254 and CHCMP, respectively.
You can program a search engine shortcut into chrome for the letter t so that whenever you hit “t 2791”, it auto-fills in the TBA URL and ignores your recent history altogether.
I had never worked with chrome extensions before, so I’d be lying if I said part of the reason I made this wasn’t to try out an easy example to see if it was feasible. All in all I learned the basics and made this in one afternoon while I was taking breaks from studying. If you have a decent basis in html/javascript, it’s not very hard to pick up.
I am attaching the source code zip to this post. Eugene reached out to me this morning about making the code open source and incorporating this with the TBA github, but my git skills are a little behind and there are some problems that need to be fixed with updating in the chrome app store. Until that’s all figured out, you can look at the source code here. I can try to answer questions if you have them, but I am also a beginner at this so I might not be the best resource. Good luck!