Results 1 to 8 of 8

Thread: GetPage?

  1. #1
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default GetPage?

    Is there a SRL function that returns what URL you are on?

    Edit: I guess that GetPage is already a function, but it gets the contents instead of the URL you are on.

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it SHOULD say somewhere what site you're on..

    yeah.. for SRL at least..

    it says

    <base href="http://www.srl-forums.com/forum/" />

    search for .com and it will show you (I think it will for any site )

    for RS..

    src="http://world87.runescape.com/m1"

  3. #3
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm trying to get scar to figure out what the address bar says so I know when it has changed from page to page.

    I know where the address bar is .

    I was just wondering if there is already one built in to scar or srl, to see if I need to make it or not.

  4. #4
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    I'm pretty sure you'll have to make one yourself.

  5. #5
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I didn't say anything about to address bar..

    if you do GetPage with Between you can do like.. Between('< a href>www.', '.com</a>');

  6. #6
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    I didn't say anything about to address bar..

    if you do GetPage with Between you can do like.. Between('< a href>www.', '.com</a>');
    I think you're missing what he wants. He wants to check what page a browser is currently on. GetPage doesn't do anything with webbrowsers. Also, you might want to check what GetPage's parameter is :P

  7. #7
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh.

    haha

    sorry.. trying to help like 5 people at once..

    but you could mess with GetPage?

    basically if you can get GetPage to just get the HTML of the current page then you can do Between what I said before

  8. #8
    Join Date
    Jul 2007
    Location
    Missouri
    Posts
    318
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well, the only way to get the html of the current page is to know what the current page is

    but thanks for clearing that up senrath and thanks to you both for trying to help out.

    i will just make one

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. GetPage
    By mat_de_b in forum OSR Help
    Replies: 4
    Last Post: 11-04-2007, 09:48 PM
  2. GetPage
    By JuKKa in forum OSR Help
    Replies: 9
    Last Post: 08-11-2007, 01:36 AM
  3. GetPage
    By Martin in forum OSR Help
    Replies: 0
    Last Post: 04-16-2007, 05:52 PM
  4. help with GetPage
    By omgh4x0rz in forum OSR Help
    Replies: 6
    Last Post: 03-11-2007, 12:44 AM

Posting Permissions

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