Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    Regular Coder
    Join Date
    Feb 2009
    Location
    Wheeling, IL
    Posts
    358
    Thanks
    5
    Thanked 62 Times in 60 Posts
    Could you give a link to an actual running website then? Seems like it might need debugging in your environment.

  2. #17
    New Coder
    Join Date
    Mar 2009
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I made it!!!
    Code:
    // ==UserScript==
    // @name           name
    // @namespace      namespace
    // @include        
    
    http://ms.miestas.biz/miskas.php?w=&nick=plytas&pass=2a6848e1cb92e0985dabc65cbcd1b52f&id=med
    // ==/UserScript==
    
    function selectlink() {
    	p = document.getElementsByTagName("a")
    	clicky = p[2].href;
    	window.location = clicky;
    }
    return (selectlink())
    Thanks for your help Sorry for bothering

  3. #18
    New Coder
    Join Date
    Mar 2009
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have another question... What if it's not a link, but a button? I tried:
    Code:
    function selectlink() {
    	p = document.getElementsByTagName("anchor")
    	clicky = p[0].href;
    	window.location = clicky;
    }
    return (selectlink())
    But it doesn't work...

    Here's button code:
    Code:
    <anchor>Parduoti<go href="parda.php?w=krona&amp;nick=plytas&amp;pass=e10adc3949ba59abbe56e057f20f883e&amp;id=mepard&amp;kas=$(kas)&amp;kieki=$(kiek)"></go></anchor>


 
Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •