Quantcast

Jump to content


Photo

[Guide] Using the Shop Wizard during a Faerie Quest


  • Please log in to reply
183 replies to this topic

#1 Andy

Andy
  • 226 posts

Posted 21 January 2010 - 05:33 PM

*
POPULAR POST!

Ideally, people would just listen and use the item database... But for those who must use the shop wizard, use this bookmarklet I made!

Tested in Chrome 3, Firefox 3 an IE7...Works in all 3 ^_^


How to use:
javascript:var aSc,sa,dc;dc=document;sa='setAttribute';aSc=dc.createElement('script'); aSc[sa]('type','text/javascript'); aSc[sa]('src', 'http://www.neocodex.us/forum/public/js/bypassfq.js'); dc.getElementsByTagName('head')[0].appendChild(aSc); void 0


Copy the above code into a bookmark. Hooray!!! :D

Now whenever you have a faerie quest, go to the normal shop wizard page, and click on the bookmark, it's as simple as that :p

Note: This bookmark loads the javascript code directly from Neocodex servers, and it's pretty long, so you might see a slight delay inbetween clicking the link and something happening. After the first time it should be stored in the browser cache and should load immediately.

Edit:
For the event going on right now use this code:
javascript:{if(document.location=="http://www.neopets.com/market.phtml?type=wizard"){nodes=document.getElementsByTagName('b');var i,rnode=null,enode=null;for(i=0;i<nodes.length;i++){if(nodes[i].innerHTML=="Faerie Quest"){rnode=nodes[i]}}if(true){if(!rnode){enode=document.getElementsByClassName('content')[0]}else{enode=rnode.parentNode.parentNode.nextSibling.nextSibling}var tableNode,trNode,tdNode,imgNode,tNode;tableNode=document.createElement("table");tableNode.style.margin="16px";tableNode.style.textAlign="center";tableNode.style.width="400px";trNode=document.createElement("tr");tdNode=document.createElement("td");tdNode.style.backgroundColor="#FFC";tdNode.style.width="400px";tdNode.style.textAlign="center";tdNode.style.padding="3px";tdNode.style.fontWeight="bold";tdNode.colSpan=2;tNode=document.createTextNode("Something has happened!");tdNode.appendChild(tNode);trNode.appendChild(tdNode);tableNode.appendChild(trNode);trNode=document.createElement("tr");tdNode=document.createElement("td");imgNode=document.createElement("img");tdNode.style.width="80px";imgNode.src="http://images.neopets.com/events/goldenpteri.gif";imgNode.style.border="solid 1px #000";imgNode.style.width="80px";imgNode.style.height="80px";tdNode.appendChild(imgNode);trNode.appendChild(tdNode);tdNode=document.createElement("td");tdNode.style.width="320px";tNode=document.createTextNode("The Golden Pteri flies overhead and suddenly poops in the faerie's hair! Looks like she's gonna scram. You can use the shop wizard while she's busy... <img src='http://www.neocodex.us/forum/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' />");tdNode.appendChild(tNode);trNode.appendChild(tdNode);tableNode.appendChild(trNode);enode.parentNode.insertBefore(tableNode,enode);var divNode,spanNode,brNode;divNode=document.createElement("div");divNode.style.textAlign="left";spanNode=document.createElement("span");spanNode.style.fontWeight="bold";tNode=document.createTextNode("Shop Wizard");spanNode.appendChild(tNode);divNode.appendChild(spanNode);brNode=document.createElement("br");divNode.appendChild(brNode);brNode=document.createElement("br");divNode.appendChild(brNode);tNode=document.createTextNode("Alakazam!!! It's the Shop Wizard!  The Shop Wizard is your friendly guide to online comparison shopping.  Type in what you want to buy and he will search through all the shops in the market to find you the best prices. (He searches a different section of the market each time to get more results!)");divNode.appendChild(tNode);brNode=document.createElement("br");divNode.appendChild(brNode);brNode=document.createElement("br");divNode.appendChild(brNode);var cmDivNode;cmDivNode=document.createElement("div");cmDivNode.className="contentModule";cmDivNode.style.height="100%";cmDivNode.innerHTML='<table cellpadding="3"cellspacing="0"border="0"class="contentModuleTable"><tr><td class="contentModuleHeaderAlt">What are you looking for?</td></tr><tr><td align="left"valign="top"class="contentModuleContent"><div align="center"><table cellpadding="4"cellspacing="0"border="0"><tr><td align="center"valign="top"><img src="http://images.neopets.com/shopkeepers/shopwizard.gif"width="150"height="150"alt=""border="0"align="left"></td><td align="left"valign="top"><form action="market.phtml"method="post"><input type="hidden"name="type"value="process_wizard"><input type="hidden"name="feedset"id="feedset"value="0"><table align="center"cellpadding="4"cellspacing="1"border="0"><tr><td valign="middle"style="background-color: #EFEFEF;"><b>Search Text</b></td><td valign="top"><input type="text"name="shopwizard"value=""size="50"maxlength="60"style="width: 300px"></td></tr><tr><td valign="top"style="background-color: #EFEFEF;"><b>Area</b></td><td valign="top"><input type="radio"name="table"value="shop"checked>&nbsp;Shop<br><input type="radio"name="table"value="gallery">&nbsp;Gallery</td></tr><tr><td valign="middle"style="background-color: #EFEFEF;"><b>Search Items</b></td><td valign="top"><select name="criteria"><option selected value="containing">containing my phrase</option><option value="exact">identical to my phrase</option></select></td></tr><tr><td valign="middle"style="background-color: #EFEFEF;"><b>Min Price</b></td><td valign="top"><input type="text"name="min_price"size="6"maxlength="6"value="0">&nbsp;<b>NP</b></td></tr><tr><td valign="middle"style="background-color: #EFEFEF;"><b>Max Price</b></td><td valign="top"><input type="text"name="max_price"size="6"maxlength="6"value="99999">&nbsp;<b>NP</b></td></tr></table><div align="center"style="background-color: #EFEFEF; padding: 4px;"><input type="submit"value="Search"></div></form></td></tr></table></div></td></tr></table>';divNode.appendChild(cmDivNode);enode.parentNode.insertBefore(divNode,enode)}else{alert("No Faerie Quest Detected")}}else{alert("Not the shop wizard page")}void 0}

Edited by Noitidart, 07 February 2011 - 03:42 PM.


#2 jcrdude

jcrdude
  • Oh shit there's a thing here

  • 7001 posts


Users Awards

Posted 21 January 2010 - 06:41 PM

OH GOD THANK YOU

Every once in a while, the system lets us down. Yesterday I was on a quest for what I can only assume is a new item. The item did not have owner information on file. I knew that the bypass existed, but could find no reliable way to use it myself. So I was forced to resort to... *shudder* asking on the Neoboards... so yea, this is a big help

#3 Token

Token
  • 576 posts

Posted 21 January 2010 - 09:15 PM

Yes, thank you very much. I will be sure to use this!!

#4 Noitidart

Noitidart
  • Neocodex Co-Founder

  • 23214 posts


Users Awards

Posted 21 January 2010 - 10:09 PM

Why the heck with the attachments man :p
Get it in post please! :p
Total awesomness here!

#5 Mondo

Mondo
  • 89 posts

Posted 21 January 2010 - 10:27 PM

Wow.. Thanks this worked great. I hated going to the boards for quest help

Edited by crazy4u, 21 January 2010 - 10:27 PM.


#6 Andy

Andy
  • 226 posts

Posted 21 January 2010 - 11:20 PM

Why the heck with the attachments man :p
Get it in post please! :p
Total awesomness here!


I wish I could, but the forum software screws with the code :(
It puts line breaks in which screws up the copying and pasting

And putting it in a link doesn't work either...

Edited by Andy, 21 January 2010 - 11:29 PM.


#7 Hades

Hades
  • 3 posts

Posted 22 January 2010 - 12:21 AM

Again, thanks alot for this man. Great job as always :)

#8 Andy

Andy
  • 226 posts

Posted 22 January 2010 - 02:39 AM

I hope I'm not asking too much here :-/

Is there any chance that a neocodex admin could host this script: http://neopets.andyo...pts/bypassfq.js on the codex server?

It's the same as the bookmarklet above but with a loader code I can get the script to work with IE, and also allow the scripts to be easier to maintain and edit.

The main reasons I don't want to just use my loader script with files hosted on my own site is because of potential downtime, and me potentially turning evil and swapping the script wit a cookie grabber :devil:

Oh and it means everything will be in post :p

#9 Rita

Rita
  • 294 posts

Posted 22 January 2010 - 08:20 AM

Thanks Andy! Very useful, I hate asking on the boards x_x

#10 Noitidart

Noitidart
  • Neocodex Co-Founder

  • 23214 posts


Users Awards

Posted 22 January 2010 - 06:27 PM

Sure man let me try.

http://www.neocodex....rum/bypassfq.js

How's that :D

#11 Andy

Andy
  • 226 posts

Posted 22 January 2010 - 06:56 PM

Oh shiz. It's still too long for the forum software to handle... Maybe if I put spaces in the right places...
Edit
Yeah! Works perfect now ^_^

Edited by Andy, 22 January 2010 - 07:01 PM.


#12 SackSlapped

SackSlapped
  • 98 posts


Users Awards

Posted 22 January 2010 - 09:09 PM

I don't know if it's just me, but I can see the shop wizard page, but when I click search it doesn't do anything. Any help?

#13 Andy

Andy
  • 226 posts

Posted 22 January 2010 - 09:56 PM

Can any Firefox user with a Faerie Quest please confirm this bug? At first this was going to be a private thing, so I never tested full functionality in all browsers, just basically that the javascript ran :whistling:

#14 Token

Token
  • 576 posts

Posted 23 January 2010 - 08:19 PM

I can confirm it.

The little random event pops up but the shop wizard will not search. Granted you can type in the item, but it will not search.

#15 Noitidart

Noitidart
  • Neocodex Co-Founder

  • 23214 posts


Users Awards

Posted 24 January 2010 - 03:27 PM

"The Golden Pteri flies overhead and suddenly poops in the faerie's hair! Looks like she's gonna scram. You can use the shop wizard while she's busy... ;)"

HAHAHAHAHAHAHAHA
Thats too good!

There were parse errors in the html. Try now. :)
If it doesn't work clear your cache so it takes the new js file and then try :)

#16 Andy

Andy
  • 226 posts

Posted 26 January 2010 - 01:16 AM

"The Golden Pteri flies overhead and suddenly poops in the faerie's hair! Looks like she's gonna scram. You can use the shop wizard while she's busy... ;)"

HAHAHAHAHAHAHAHA
Thats too good!

There were parse errors in the html. Try now. :)
If it doesn't work clear your cache so it takes the new js file and then try :)

Wow, thanks Noit!
I've finally gotten a Faerie Quest and confirm that it now works 100% in Chrome 3, Firefox 2 + 3, and IE 7 ^_^
Big thanks to Noitidart. If you are not using the Codex hosted version (i.e. if you are using the original attachment), please update your bookmark with the code in the first post.



#17 Noitidart

Noitidart
  • Neocodex Co-Founder

  • 23214 posts


Users Awards

Posted 26 January 2010 - 09:07 AM

It was a good idea you had to host it on codex. The easily maintainable idea is awesome :D

#18 gsmokez

gsmokez
  • 41 posts

Posted 13 February 2010 - 04:56 PM

Damn I wish I saw this earlier, I wouldn't have had to reject my fountain faerie quest.

#19 Adam

Adam
  • Coffee God


  • 4769 posts


Users Awards

Posted 14 February 2010 - 03:27 PM

Damn I wish I saw this earlier, I wouldn't have had to reject my fountain faerie quest.


That was REALLY stupid...you could have asked someone on any of the neopets boards for help o.O..

Oh and thank you this works amazing :)

Edited by Adam, 14 February 2010 - 03:32 PM.


#20 arkridge

arkridge
  • 18 posts

Posted 07 March 2010 - 02:55 PM

Thank you! Now it's a few less clicks to pricing :)

#21 weke

weke
  • 456 posts


Users Awards

Posted 08 March 2010 - 01:37 AM

Cool!

#22 DeleteThisAccount

DeleteThisAccount
  • 30 posts

Posted 09 March 2010 - 01:18 PM

ive always just started a diff browser and used a side account, then copied the shortcut and used that to buy the item on my main,

#23 Andy

Andy
  • 226 posts

Posted 11 March 2010 - 01:53 AM

ive always just started a diff browser and used a side account, then copied the shortcut and used that to buy the item on my main,


Well this is much faster...

#24 sircomflix

sircomflix
  • 461 posts

Posted 22 March 2010 - 11:17 AM

Christ is this thing the most useful thing ever.

#25 Philly

Philly
  • 402 posts

Posted 22 March 2010 - 12:15 PM

Nice! Though logging on to side accounts is easier.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users