473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

detecting bokmarkedUrl in IE favorite list with javascript?


Hello,
I need to offer the visitors of my siste to add it to the favorite list but
only when it is ot there.

the code below:
window.external.AddFavorite(location.href, document.title)

add the link.

How can i see if the current link is already there?

Many thinks in advance

JB
Nov 19 '05 #1
3 1026
Hi Jensen,

The Javascript DOM does not have a method or a means of reading the list of bookmarks/favorites
in a browser, as allowing this would have posed a security threat and is a technique employed by
many spywares and trojans. It is always better, therefore, to simply add the bookmark without
checking for its existence.

HTH

Mona[Grapecity]
"Jensen bredal" <je************@yahoo.com> wrote in message news:Oq**************@TK2MSFTNGP10.phx.gbl...

Hello,
I need to offer the visitors of my siste to add it to the favorite list but
only when it is ot there.

the code below:
window.external.AddFavorite(location.href, document.title)

add the link.

How can i see if the current link is already there?

Many thinks in advance

JB

Nov 19 '05 #2
Many thanks...
JB
"Mona" <mo**@discussions.microsoft.com> wrote in message news:u7**************@TK2MSFTNGP09.phx.gbl...
Hi Jensen,

The Javascript DOM does not have a method or a means of reading the list of bookmarks/favorites
in a browser, as allowing this would have posed a security threat and is a technique employed by
many spywares and trojans. It is always better, therefore, to simply add the bookmark without
checking for its existence.

HTH

Mona[Grapecity]
"Jensen bredal" <je************@yahoo.com> wrote in message news:Oq**************@TK2MSFTNGP10.phx.gbl...

Hello,
I need to offer the visitors of my siste to add it to the favorite list but
only when it is ot there.

the code below:
window.external.AddFavorite(location.href, document.title)

add the link.

How can i see if the current link is already there?

Many thinks in advance

JB

Nov 19 '05 #3
> I need to offer the visitors of my siste to add it to the favorite list

Actually, you don't need to offer that, since that's built into the browser
already. ;o)

-Darrel
Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Jay | last post by:
I'm sure this is a really dumb question, but how do you detect a variable type in Python? For example, I want to know if the variable "a" is a list of strings or a single string. How do I do...
1
by: Rod Early | last post by:
I need to know when the select element's dropdown list is opened (as when the user clicks on the arrow or does ALT-downarrow from the keyboard). Similarly, I need to known when the dropdown list...
25
by: Ryan Stewart | last post by:
I'm working on a project to collect web application usage statistics. What are the recommended ways of detecting whether a browser is JavaScript enabled and/or capable? Obviously I can write a...
2
by: beliavsky | last post by:
Linux Journal annually polls its readers on questions such as their favorite programming language. In the 2005 poll, Python is 2nd, its highest ranking ever. Below are the results by year. I wish...
79
by: VK | last post by:
I wandering about the common proctice of some UA's producers to spoof the UA string to pretend to be another browser (most often IE). Shouldn't it be considered as a trademark violation of the...
2
by: petermichaux | last post by:
Hi, I don't know if there is a way to feature detect for this or not. I have a list and the user can click on items to select. I would like that they can command-click on Mac or control-click on...
4
by: wardy | last post by:
Hi all, Looking for a bit of help with this one...I have a situation where I need to be able to determine the control that initiated a form's submit action in client-side Javascript. I am...
4
by: almurph | last post by:
Hi everyone, I'm a newbie to javascript. I have written some code to detect when a user presses the down-arrow, up-arrow and enter button. Essentially the user can arrow down or up through a...
1
by: abertay | last post by:
Hi friends...I need our help.I'm stuck with this code... can some one tell me how can pass a javascript variable into hyperlink along with a php varaible? Here is my code.. <html> <head>...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.