...

View Full Version : window.external.AddFavorite doesn't accepts urls with parameters?



Borgtex
01-15-2003, 01:17 AM
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?

ashleypower
08-08-2003, 04:12 PM
I'm having the EXACT SAME problem! Any help would be GREAT!

beetle
08-08-2003, 04:14 PM
Is this how you are using it?

window.external.addFavorite( location.href, document.title );

ashleypower
08-08-2003, 05:19 PM
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+Manufactur ing%29&ch=http%3A%2F%2Fwww.jobfutures.ca%2Fnoc%2F948.shtml%7CAssembler%2C+Electrical+Accessories

It only bookmarks:

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

beetle
08-08-2003, 05:57 PM
maybe location.href doesn't store the querystring for file:// URLs.

try alerting the value of location.search and see if it contians anything



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum