The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Javascript to create non-sidebar bookmark in Firefox?

    Discussion in 'Windows OS and Software' started by Thomas1989, Apr 25, 2008.

  1. Thomas1989

    Thomas1989 Notebook Consultant

    Reputations:
    3
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    30
    Is there a Javascript that can be used to write a hyperlink which will -when activated- open the Bookmark dialog in Firefox but then subsequently does not create a bookmark that opens in the Sidebar? I would like it to open the bookmark in the main browser viewport. I've looked all over the net and all I can seem to find is one that opens the bookmarked page in the Firefox Sidebar.

    Any comment would be appreciated.

    Thanks.
     
  2. Nocturnal310

    Nocturnal310 Notebook Virtuoso

    Reputations:
    792
    Messages:
    2,708
    Likes Received:
    0
    Trophy Points:
    0
    the All-in-one-Sidebar rite?

    when u click on a Bookmark.. it opens in the main Browser window by default.

    did u check the settings?
     
  3. Thomas1989

    Thomas1989 Notebook Consultant

    Reputations:
    3
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    30

    All my bookmarks in firefox work just fine..
    I'm creating a website and i would like to add a link that when you click on it, it adds my website to the bookmarks in Firefox. I have been able to do that but when i click on the bookmark it opens my website in a seperate sidebar. Not as a tab.

    Here is the javascript i have been using:
    Code:
    	function favorieten()
    	{
    		if(window.sidebar)    
    		{
    			window.sidebar.addPanel('Daily news channel','http://users.skynet.be/fa038941/Thomas/Websites/Daily_News_Channel/index.htm',"");
    		}
    		else
    		{
    			window.external.AddFavorite('http://users.skynet.be/fa038941/Thomas/Websites/Daily_News_Channel/index.htm', 'Daily News Channel');
    		}
    	}
     
  4. Sac9700

    Sac9700 Notebook Consultant

    Reputations:
    35
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    30
  5. Thomas1989

    Thomas1989 Notebook Consultant

    Reputations:
    3
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    30
    That's the script that i'm using right now. The result is when you click on the bookmark, it opens the page in a sidebar.. :(


    Take a look: My website

    Click on the link above and click on "Voeg toe bij favorieten" (top right) in firefox. A bookmark will be created but when you click on that bookmark it will not open in a tab as usual but in a sidebar...
     
  6. Sac9700

    Sac9700 Notebook Consultant

    Reputations:
    35
    Messages:
    140
    Likes Received:
    0
    Trophy Points:
    30
    If the bookmark is being created, then I think you are having an issue with your side bar plug in not the script. Have you tested this on a fresh install of Firefox or another computer?