• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Adding an Ebay Search on Desktop?

B

bgmagic

Guest
#1
Hi, I know you can add a google search and dictionary search, but can you add an ebay search? Any help is appreciated. Thanks
 

Perris Calderon

Moderator
Staff member
Political User
#3
well, you can save the search page to the desktop, available off line...if the actual search isn't available, this would be almost as good

then, after you do that, you can take it even further, and hack the source...edt the page to look how you want the searchbar to look.
 

SPeedY_B

I may actually be insane.
#4
Code:
<form ACTION="http://search.ebay.com/search/search.dll" METHOD="GET" onSubmit="isItemNumber(this); return false;">
<input TYPE="hidden" NAME="MfcISAPICommand" VALUE="GetResult">
<input TYPE="hidden" NAME="cgiurl" VALUE="http://cgi.ebay.com/ws/">
<input type="hidden" name="ht" value="1"><input type="hidden" name="from" value="R7">
<input TYPE="hidden" NAME="SortProperty" VALUE="MetaEndSort">
<input NAME="query" SIZE="12" MAXLENGTH="100"> <input TYPE="SUBMIT" VALUE="Search">
</form>
[madmatt.edit]had to add in the end form tag, it was causing an error with posting a new thread.[/edit]
 

madmatt

Bow Down to the King
Political User
#5
did you test that? =)
betcha it errors.
heh.

why? no javascript function present, except you call one in the "onSubmit". =)
 

SPeedY_B

I may actually be insane.
#6
i did test it actually, and it worked fine, ner ner :D
it was just a quick rip from the eBay site, just slapped the code in a file and did a search, all seemed well ... but most things do to me when im half asleep :p
 

madmatt

Bow Down to the King
Political User
#7
well, you should remove the javascript call. you won't see it error on your desktop (no status bar). but if you add target="_new" in the opening FORM tag, then try it, you will see an error message in the status bar. try it =)

I am not picking on you either, just making you aware =)
 

SPeedY_B

I may actually be insane.
#8
heh, like i say i was half asleep, and as always... multi-tasking :p
Good job you pointed it out tho, wouldn't want people using dodgey code would we :)
 

madmatt

Bow Down to the King
Political User
#9
Code:
<html>
<head>
<title>Active Desktop: eBay Search</title>
</head>
<body bgcolor="#FFFFFF">

<form name="searchform" action="http://search.ebay.com/search/search.dll" method="GET" target="_new">
<input type="hidden" name="krd" value="1">
<input type="hidden" name="from" value="R8">
<input type="hidden" name="MfcISAPICommand" value="GetResult">
<input type="hidden" name="ht" value="1">
<input type="hidden" name="SortProperty" value="MetaEndSort">

eBay Search<br>
<input type="text" name="query" size="55" value=""><br>
<input type="submit" value="Search">

</form>
</body>
</html>
official madmatt active desktop tutorial release, will be added to the tutorial for future ref.

thanks to speedy for the head start.
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies