Go Back   Smogon Community > Contributions & Corrections > Projects
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
Categories: HTML, Programming, Other
 
Thread Tools
Old Oct 19th, 2010, 4:58:50 AM   #1
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default Smogon Search: Google Chrome Extension

"A simple search engine for Smogon."

First off, I'm pretty new to Smogon forums so tell me if I put this in the wrong place.

This extension can search for Pokemon, items, abilities, moves, articles and more on Smogon's vast web pages. Simply click and type anything and the search engine will open a new tab with the desired web page.

The search engine even comes with a maximum common subsequence, if you mispel a word, the extension will 'auto-correct' it and will redirect you to that page. For example, if you typed 'Growlathe' into the search bar, it will redirect you to 'Growlithe'.

You can download this free extension here.

Give me feedback, questions or whatever because I'm happy to answer them.
Premonition is offline   Reply With Quote
Old Oct 19th, 2010, 6:40:14 PM   #2
auramaster
 
auramaster's Avatar
 
Join Date: Dec 2008
Posts: 764
Default

I love the idea, but I tried it in both Chrome and Chromium, and it didn't work. Could just be my computer though.

Technical info, if it helps
__________________
† I trust Science, therefore I am a Christian †
Proud host of three Mafia games.
auramaster is offline   Reply With Quote
Old Oct 19th, 2010, 8:02:00 PM   #3
Veedrock
 
Veedrock's Avatar
 
Join Date: Oct 2008
Posts: 2,780
Location: Alaska, USA Occupation: Gamer Gamerscore: 84319
Default

Wasn't working for me originally, but I updated my browser from 6.x.xxx.x to 7.0.517.41 and it's working great now.

The mcs seems to work really well too, I butchered a few names pretty bad and it got me to the pages no problem. One thing I've noticed that doesn't work is if I put in a type (ie fire) the URL will come up http://www.smogon.com/dp/types/Fire, which directs to an invalid page because of the capital F in fire. Don't know how hard that would be to alter (personally I'd rather see this fixed on the site to accept caps, but that's not in your jurisdiction). It'd be nice if it cleared itself after each search too but that's nothing major.

Thanks a lot, I'm glad to have a Smogon search that doesn't occupy the omnibar.
__________________
Now playing: Minecraft, Street Fighter x Tekken
Veedrock is offline   Reply With Quote
Old Oct 20th, 2010, 5:10:03 AM   #4
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default

OK, fixed the type problem. For some reason the site doesn't accept types starting with caps. Simply re-install the extension from the link i gave you. I also made the text clear itself so you don't have to backspace all the time.

About the technical errors, I'm not sure about how to fix them but updating Google Chrome will probably solve it, though I'm pretty sure it isn't an error with the extension.

Also, there is a slight size problem with the popup window which I am working on, though I still can't find the source of the problem. Tell me if you are experiencing similar errors in which the popup window changes size.

I will update the extension as soon as I can. Thanks heaps for reviews and pointing out errors ^^

You can help in fixing the size error if anyone is willing. Just right-click the extension then go to 'Inspect popup' then go to the 'Resources' tab and enable resource tracking if it isn't already enabled. I suspect the error is somewhere in 'popup.html', 'popup.css' or 'popup.js' though I might be wrong. Post where I got it wrong if you can find it.
Premonition is offline   Reply With Quote
Old Oct 20th, 2010, 7:16:04 PM   #5
Ranigad
 
Join Date: Jun 2010
Posts: 124
Northwest Continental US
Default

Um, I don't have this application, however my address bar allows me to search some websites by typing their name and hitting tab. I can already search google (google + tab), wikipedia (wikipedia + tab), smogon (smogon + tab), etc. o_O Anyone else have this?
Ranigad is offline   Reply With Quote
Old Oct 20th, 2010, 7:24:58 PM   #6
doominic77
 
doominic77's Avatar
 
Join Date: Jul 2010
Posts: 394
Calgary, AB
Default

this is really cool, it'd be awesome if you could make one for firefox
__________________
I'm back!
doominic77 is offline   Reply With Quote
Old Oct 20th, 2010, 7:59:18 PM   #7
Professor Lamb
 
Professor Lamb's Avatar
 
Join Date: Oct 2010
Posts: 184
New York State
Default

Thanks for this. It is very helpful. I found no big errors with it (so far).
__________________
Professor Lamb is offline   Reply With Quote
Old Oct 21st, 2010, 4:52:57 AM   #8
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default

There is already a Smogon search bar for Firefox 2+. Look here. I haven't tried it and I'm pretty sure it doesn't have a mcs (auto-correct) but hopefully it's what you're looking for.

The problem with searching Smogon in the address bar and hitting tab is that it does not auto-correct for you. Try typing 'Pekachu' in the address bar. It doesn't redirect you to 'Pikachu'.
__________________
The truth is out there.
Premonition is offline   Reply With Quote
Old Oct 23rd, 2010, 11:00:58 AM   #9
Professor Lamb
 
Professor Lamb's Avatar
 
Join Date: Oct 2010
Posts: 184
New York State
Default

Alright, well I found my first error. I searched for "Mew" and it redirected me to "Howl". Not sure how those two things are related but that's what it did.
__________________
Professor Lamb is offline   Reply With Quote
Old Oct 23rd, 2010, 11:28:54 PM   #10
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default

Ok, I'm fixing it. If you experience more problems like that, you can type things like 'Pokemon Mew' instead of just 'Mew' and it will redirect you to the right page. Just thought I'd tell you that.

EDIT: I just got Windows 7 on my mac through bootcamp and I have noted some changes on the extension. The padding is not the same as on the mac so I will fix the extension to be more Windows-friendly. However, it seems there is no aforementioned size error as there is on the mac.
__________________
The truth is out there.

Last edited by Premonition; Oct 26th, 2010 at 6:24:13 AM. Reason: Compatibility
Premonition is offline   Reply With Quote
Old Nov 6th, 2010, 9:31:19 AM   #11
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default

I'm so very sorry, Google won't let me update the extension :'(
I guess this means this is the end of Smogon Search, even though 5th Generation stuff is coming out on Smogon. Thanks everyone for using Smogon Search on Google Chrome while it lasted!
__________________
The truth is out there.
Premonition is offline   Reply With Quote
Old Nov 8th, 2010, 3:36:42 PM   #12
Professor Lamb
 
Professor Lamb's Avatar
 
Join Date: Oct 2010
Posts: 184
New York State
Default

Aww...oh well, it was useful while it lasted.

Great job on it though.
__________________
Professor Lamb is offline   Reply With Quote
Old Nov 8th, 2010, 7:53:02 PM   #13
locopoke
indulges in unsavory behavior
is a Forum Moderatoris a Tiering Contributoris a Smogon Media Contributor Alumnusis a Battle Server Moderator Alumnus
 
locopoke's Avatar
 
Moderator
Join Date: Aug 2007
Posts: 2,746
Default

this shit is fucking boss
locopoke is offline   Reply With Quote
Old Nov 8th, 2010, 8:45:05 PM   #14
VirtualKaraokeCircusAct
 
VirtualKaraokeCircusAct's Avatar
 
Join Date: Jan 2009
Posts: 3,233
Default

Quote:
Originally Posted by Fat locopoke View Post
this shit is fucking boss
Indeed.
What do you mean by "I guess this is the end of smogon search"? It still works for me, do you just mean you aren't/can't going to update it?
VirtualKaraokeCircusAct is offline   Reply With Quote
Old Nov 8th, 2010, 8:50:48 PM   #15
Fatecrashers
UNH UNH UNH UNH
is a member of the Smogon Site Staffis an Artistis a Forum Moderatoris a Contributor to Smogon Mediais a Contributor to Smogonis a Battle Server Moderator
 
Fatecrashers's Avatar
 
Moderator
Join Date: Sep 2007
Posts: 4,915
Default

I'm also curious as to what the problem is here.
Are you saying that any new analysis pages that get uploaded won't appear in the search?
Why would Google not let you update this extension?
This is a really useful thing you have here, it'd be a shame to see it go to waste.
__________________
Fatecrashers is offline   Reply With Quote
Old Nov 9th, 2010, 4:03:51 PM   #16
PK Gaming
is a member of the Smogon Site Staffis a Forum Moderatoris a Smogon IRC AOpis a Community Contributoris a Tiering Contributoris a Contributor to Smogonis a Smogon Premier League defending champion
 
PK Gaming's Avatar
 
Moderator
Join Date: Aug 2009
Posts: 4,561
Sumuru city
Default

Wow this is absolutely brilliant.

Great job!
__________________
PK Gaming is offline   Reply With Quote
Old Nov 10th, 2010, 5:44:56 AM   #17
Premonition
 
Premonition's Avatar
 
Join Date: Oct 2010
Posts: 9
Default

Quote:
Originally Posted by Fat VirtualKaraokeCircusAct View Post
Indeed.
What do you mean by "I guess this is the end of smogon search"? It still works for me, do you just mean you aren't/can't going to update it?
That's right. I can't seem to be able to update the extension. Google simply won't let me because of some 'server reject' error. So I'm not sure whether I will be able to add the new 5th Generation Pokemon, items, etc when it all comes out on Smogon. I'll keep trying though.
__________________
The truth is out there.
Premonition is offline   Reply With Quote
Reply Smogon Community > Contributions & Corrections > Projects

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 12:34:29 AM.