Jump to content

Recommended Posts

Posted

I am looking for a bookmark script which hopefully shows textlink saying "Bookmark this page" for all common browsers.

 

I know there are scripts that will do this in I.E but for netscape etc it usually brings up an alert box reminding the visitor to bookmark. I dont want that if possible.

 

Anyone know if this exist/works?

Posted

I don't think that is possible, Thomas.

The possibility for someone to force you to bookmark their website without your confirmation can be considered a violation of privacy so Mozilla/Netscape/Firefox/Opera/Safari/<insert any other decent browsers here> always ask the user first if they really want to bookmark that page.

 

But you never know what's floating around Hotscripts.com :unsure:

Posted
The possibility for someone to force you to bookmark their website without your confirmation can be considered a violation of privacy so Mozilla/Netscape/Firefox/Opera/Safari/ always ask the user first if they really want to bookmark that page.

Sorry,I dont get that part, Raul.

I am not saying anyone should be "forced" to bookmark anything if they dont want too. That is why I need a regular link that opens up their favorites/bookmarks if they click it. I just want to get rid of the (sometimes) auto opening alert box that opens in netscape etc for this issue. Those auto opening boxes I have seen it happens with netscape etc are nasty. I dont want that. :unsure:

Posted

Thanks Bruce and Raul :unsure:

 

However, I checked hotscripts, both before I posted the original post and now again, since there could be one I missed.

Unfortunately, all those scripts either costs or can not present a clickable link in netscape/mozilla...etc... that a visitor can click to bookmark.

There is several that will show a "Press CTRL + D to bookmark us" text, but unfortunately I already have that kind of script.

I was hoping for a script that can show same kind of clickable link in netscape/mozilla...etc...as in I.E

Posted (edited)

Thomas, if a page can be bookmarked by simply clicking on a link, then it means the bookmark can be created automatically without any user intervention. Why? Simple: the only way you can make a link as you described is by means of a JavaScript function that gets called when the link is clicked. But any JavaScript function can be called at any time, without any user intervention.

 

By the way, the "Press CTRL+D to bookmark us" doesn't need a script. It's the commonly used key combination to bookmark a web site in a web browser, so if you're wasting your time/space/bandwidth with a script for that, get rid of it ;)

 

 

Edit: I really have to slow down a bit when reading the forums... ;)

Thomas, after a second reading of your post above, I think I didn't get the picture of what you want the first time. You want a link that opens up the favorites/bookmarks if people click it? But that already exists, it's the CTRL+D thingy you mentioned... :huh:

But you already said that's not what you want... :unsure: :huh:

You know, I don't think I got it this time either... :huh: :blink: :wacko: :unsure:

 

Edit #2: Just to make it clear: I know the CTRL+D is not a link but it's the only "standard" shortcut I know of to open the bookmarks dialog... Which makes me think: I got it this time: what you want is a link that, when clicked, does exactly what CTRL+D does, right? Did I get it right this time? Do I get the bicycle? Man, I need to sleep... :P

Edited by TCH-Raul
Posted

lol

no, I dont want a sentence saying "Please press CTRL + D to bookmark this page".

What I am asking/looking for is a way for a netscape/mozilla/firebird/etc-user to be able to click a link and poof the favorite/bookmark manager pops up.

Posted

I tried changing the post before you read it but I was too slow :unsure:

 

Well, I investigated a bit about this subject and it appears that this is only possible with IE. At least, every script I found was made for IE and I didn't find anything that would even mention other browsers. :unsure:

Posted

Well well, thanks anyway for trying Raul :unsure:

I´ll just have to continue with the web standard way. :wacko:

I hope though that the link-option will be a reality someday, since I figure most visitors thinks its easier to click with the mouse than to remember the combination CTRL + D. :unsure:

Posted

Thomas, I gave up trying to get a non IE browser link to work.

 

The best I can do is display a link for IE and

"Don't forget to bookmark us! (CTRL-D)"

if it is a non IE browser.

Posted

I happened to be at this page today (using firefox): ht*p://www.villascaribe.com/content/Product-25-1-323.htm

 

They have a bookmark link that appears to work in Firefox. When you click it it brings up a dialog box asking where to put the bookmark (which bookmark folder).

 

You could take a look at how they do it...

 

The only problem I have is when I use the bookmark, it loads the page in a sidebar, not my main browser window, but maybe someone can help you tweak it not to do that.

  • 6 months later...
Posted

Did anyone happen to figure out how to create a link in a page to add the site to your bookmarks (in Firefox and Netscape)?

 

I have seen several scripts that will do it in Internet Explorer only.

Posted

Hi,

 

I have built a work-around for this problem. It works in IE, and gives a useful message to those using Firefox or other unsupported browsers.

 

in IE: it add the bookmark to the users choice of folders (as per usual)

in Firefox: Tells user that their browser can't save bookmarks, but to try pressing Control + D instead.

 

 

Put this in the head of your HTML code:

 

<script language="JavaScript" type="text/javascript">

// Bookmark script

var urlAddress = "www.******";

var pageName = "Yaris Website Domain";

function addToFavorites() {

if (window.external) {

window.external.AddFavorite(urlAddress,pageName)

} else {

alert("Sorry, your browser doesn't support bookmarking this page...\n\nPlease try pressing Control + D instead");

}

}

</script>

 

 

And this in the body:

 

<a href="java script:addToFavorites()">bookmark this page</a>

Posted

Hello Yari. thanks for the code.

 

Is the window that opens (when a non-Internet Explorer browser is being used) considered a pop-up? I was just wondering if a person has a pop-up blocker enabled will it prevent the alert from displaying?

Posted

If anyone else tries this, please tell me if me if worked for you in IE...it didn't for me. But it does display the alert when I use Firefox.

 

Thanks.

Posted

I have yet to find a script that works for mozilla/firefox

so this is what I use to display a message for other than IE

 

 

><script LANGUAGE="javascript">
<!-- Begin
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.domain.com";
var title="discription for book mark";
document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onmouseover=" window.status=');
document.write("'Add our site to your favorites!'; return true ");
document.write('"onmouseout=" window.status=');
document.write("' '; return true ");
document.write('">Add our site to your favorites!</a>');
}
else {
var msg = "Don't forget to bookmark us!";
if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
document.write(msg);
}
// End -->
</script>

 

Welcome tot he forum Yari :)

Posted

Hello Don. I like your script but it doesn't work with the way I have my dynamic menu set up when someone is using Firefox.

 

 

Has anyone else tried Yari's script in IE?

 

I couldn't get it to work.

Posted

Any idea why yari's script doesn't work in IE?

 

 

Put this in the head of your HTML code:

 

><script language="JavaScript" type="text/javascript">
// Bookmark script
var urlAddress = "www.******";
var pageName = "Yaris Website Domain";
function addToFavorites() {
if (window.external) {
window.external.AddFavorite(urlAddress,pageName)
} else {
alert("Sorry, your browser doesn't support this function...\n\Please close this alert and press Control + D to bookmark");
}
}
</script>

 

 

And this in the body:

 

><a href="javascript:addToFavorites()">Bookmark GoToAd</a>

Posted

<script>

function addBookmark(title,url) {

//alert('adding ' + title + ', ' + url);

if (window.sidebar) {

window.sidebar.addPanel(title, url,"");

} else if( document.all ) {

window.external.AddFavorite( url, title);

} else if( window.opera && window.print ) {

return true;

}

}

</script>

 

 

<a href="java script:void(addBookmark('Link Title','http://www.linky.com'));">Bookmark (Ctrl-D)</a>

  • 2 weeks later...
Posted

Hi to all of you! I don't know how old is this thread but I decided to help (I signed up just to answer here) since I had this problem as long as I remember my self as a designer. Please take a look at this very, very, very helpful site: http://www.dynamicdrive.com. I know this site for almost 3 years now and it helped me lot's of times. In particular check here (the last 4-5 results): http://www.dynamicdrive.com/dynamicindex9/index.html!!

 

:) :yes:

Posted

Thank you all of you! :shutup:

Sorry for the mistake Thomas! :shutup:

 

Keep as treasure the dynamicdrive.com url! As I said, it helped me a lot!! And to be honest, a friend of mine told me about DD. Thought to pass it to all of you like he did. That's all!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...