<map id="dungeon" name="dungeon"> <area shape="rect" coords="78,0,109,74" href="quests.php?id=5&d=up&cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na północ" alt="" /> <area shape="rect" coords="78,114,109,195" href="quests.php?id=5&d=down&cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na południe" alt="" /> <area shape="rect" coords="115,79,184,108" href="quests.php?id=5&d=right&cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na wschód" alt="" /> <area shape="rect" coords="0,79,71,107" href="quests.php?id=5&d=left&cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na zachód" alt="" /> <area shape="rect" coords="79,80,108,106" href="quests.php?id=5&d=stay&cnr=5b2b90013bf899246dfdfd063813e999" title="Odpoczywaj" alt="" /> </map>
Robię skrypt GreaseMonkey, chciałbym pobrać pierwszego hrefa czyli:
Kod
quests.php?id=5&d=up&cnr=5b2b90013bf899246dfdfd063813e999
Jest taka możliwość ? Najlepiej w jQuery.