Talk:Bookmarklets: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
m (→‎Hide Location: (fix link))
 
Line 4: Line 4:
:Works fine for me.  Check [http://iwrecords.urbandead.info/01-08-08_0200hrs_PUBLIC/IN_1-1_found_a_snitch_646-113-f1c.html this Iwitness report] out.  Maybe you are using an extension that alters the code for those buttons, and thus the bookmarklet isn't "finding" them?  {{User:Swiers/Sig}} 20:41, 9 January 2008 (UTC)
:Works fine for me.  Check [http://iwrecords.urbandead.info/01-08-08_0200hrs_PUBLIC/IN_1-1_found_a_snitch_646-113-f1c.html this Iwitness report] out.  Maybe you are using an extension that alters the code for those buttons, and thus the bookmarklet isn't "finding" them?  {{User:Swiers/Sig}} 20:41, 9 January 2008 (UTC)
::i'm not using any extensions and i doubt that i ever will --[[User:Duke Garland|<nowiki>~~~~</nowiki>]] [[LCD|<nowiki>[</nowiki>]][[User talk:Duke Garland|talk]][[Signature Race|<nowiki>]</nowiki>]] 23:08, 9 January 2008 (UTC)
::i'm not using any extensions and i doubt that i ever will --[[User:Duke Garland|<nowiki>~~~~</nowiki>]] [[LCD|<nowiki>[</nowiki>]][[User talk:Duke Garland|talk]][[Signature Race|<nowiki>]</nowiki>]] 23:08, 9 January 2008 (UTC)
:::Try the following alteration. Add a single i after the final / (highlighted in bold)
:::<code><nowiki>var loc=document.body.innerHTML.match(/<div class=%22gt%22>(?:.|[\r\n])*?<b>((.|[\r\n])*?)<\/b>/</nowiki>'''i'''<nowiki>);</nowiki></code>
:::It makes the match case insensitive, as I have a similar issue and it seems to be with the case of the B in the html tag for bold. --[[User:Roorgh|Roorgh]] 14:19, 16 March 2009 (UTC)


==Multi-Attack==
==Multi-Attack==
how would one go about using this to attack humans? for inqusitive minds--{{User:XXNecromancerxX/sig}} 02:05, 30 January 2008 (UTC)
how would one go about using this to attack humans? for inqusitive minds--{{User:XXNecromancerxX/sig}} 02:05, 30 January 2008 (UTC)
:nevermind, found the target codes page--{{User:XXNecromancerxX/sig}} 05:23, 31 January 2008 (UTC)
:nevermind, found the target codes page--{{User:XXNecromancerxX/sig}} 05:23, 31 January 2008 (UTC)

Latest revision as of 14:19, 16 March 2009

Hide Location

It still keeps text that says "You're in <location_name>" and interface button "Leave <location_name>"... What kind of hiding is that? --~~~~ [talk] 22:52, 8 January 2008 (UTC)

Works fine for me. Check this Iwitness report out. Maybe you are using an extension that alters the code for those buttons, and thus the bookmarklet isn't "finding" them? SIM Core Map.png Swiers 20:41, 9 January 2008 (UTC)
i'm not using any extensions and i doubt that i ever will --~~~~ [talk] 23:08, 9 January 2008 (UTC)
Try the following alteration. Add a single i after the final / (highlighted in bold)
var loc=document.body.innerHTML.match(/<div class=%22gt%22>(?:.|[\r\n])*?<b>((.|[\r\n])*?)<\/b>/i);
It makes the match case insensitive, as I have a similar issue and it seems to be with the case of the B in the html tag for bold. --Roorgh 14:19, 16 March 2009 (UTC)

Multi-Attack

how would one go about using this to attack humans? for inqusitive minds--ȠәȻᴙʘɱΔȵƆεʁ 02:05, 30 January 2008 (UTC)

nevermind, found the target codes page--ȠәȻᴙʘɱΔȵƆεʁ 05:23, 31 January 2008 (UTC)