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.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Spain
    Posts
    420
    Thanks
    0
    Thanked 0 Times in 0 Posts

    window.external.AddFavorite doesn't accepts urls with parameters?

    I was playing with addFavorite function and I realized that url parameters are ignored: i.e. "mypage.htm?color=blau" goes to favorites as "mypage.htm"

    Is there a reason for that?
    Don't resist to assimilation. Billions of Borgs can't be wrong!

  • #2
    New Coder
    Join Date
    Mar 2003
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm having the EXACT SAME problem! Any help would be GREAT!

  • #3
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is this how you are using it?

    window.external.addFavorite( location.href, document.title );
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”

  • #4
    New Coder
    Join Date
    Mar 2003
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah. It only takes so much. Here's the URL I have:

    file:///C:/WINDOWS/Desktop/top.htm?ch=http%3A%2F%2Fwww.jobfutures.ca%2Fnoc%2F737.shtml%7CCantilever-Crane+Operator&ch=http%3A%2F%2Fwww.jobfutures.ca%2Fnoc%2F146.shtml%7CDirect-Mail+Clerk&ch=http%3A%2F%2Fwww.jobfutures.ca%2Fnoc%2F944.shtml%7CKnitted%2C+Hand&ch=http%3A%2F%2Fwww .jobfutures.ca%2Fnoc%2F949.shtml%7CQuality+Control+Technician+%28Glass+Manufacturing%29&ch=http%3A%2 F%2Fwww.jobfutures.ca%2Fnoc%2F948.shtml%7CAssembler%2C+Electrical+Accessories

    It only bookmarks:

    file:///C:/WINDOWS/Desktop/top.htm

  • #5
    Senior Coder
    Join Date
    Aug 2002
    Posts
    3,467
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe location.href doesn't store the querystring for file:// URLs.

    try alerting the value of location.search and see if it contians anything
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


  •  

    Posting Permissions

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