1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

multiple bookmarks files in NS7?

Discussion in 'Firefox, Thunderbird & SeaMonkey' started by tzeyen, 2002/09/11.

Thread Status:
Not open for further replies.
  1. 2002/09/11
    tzeyen

    tzeyen Inactive Thread Starter

    Joined:
    2002/09/11
    Messages:
    5
    Likes Received:
    0
    It seems that NS7 automatically only recognizes the one bookmarks.html file located in my user profile location. Although there has been a way of opening different bookmarks files in past versions of NS, I don't see any way to direct or configure NS7 to point to and open other bookmarks files. Can anyone tell me how can I get NS7 to point to an alternate bookmarks.html file located in a different folder? Thanks in advance.

    TZ
     
  2. 2002/09/11
    Ramona

    Ramona Geek Member Alumni

    Joined:
    2001/12/31
    Messages:
    7,481
    Likes Received:
    2
    Welcome to the Forum, tzeyen!

    Hi tzeyen,

    This might work for you, on a single Bookmark file, although I have seen no scripts for multiple Bookmarks locations:
    Courtesy of: Warren C. E. Austin
    snews://secnews.netscape.com:563/3D77C2A5.1000004@houseofellithorpe.com


    Ramona :D
     

  3. to hide this advert.

  4. 2002/09/12
    tzeyen

    tzeyen Inactive Thread Starter

    Joined:
    2002/09/11
    Messages:
    5
    Likes Received:
    0
    Thank you for your response Ramona. I am surprised that Netscape has not included the ability to work with multiple bookmarks in this new version. This would seem to me to be a major oversight. Also, unfortunately I am not familiar with java script. Could you please give me full and detailed step by step instructions on how to implement your suggestion. Thank you very much.
     
  5. 2002/09/12
    Ramona

    Ramona Geek Member Alumni

    Joined:
    2001/12/31
    Messages:
    7,481
    Likes Received:
    2
    Hi tzeyen,

    First: back up your prefs.js and user.js files.

    To your user.js file, add the following line:

    user_pref( "browser.bookmarks.file ", "<drive>:\\<folder-path>\\bookmarks.html ");

    I just tried this, by copying my bookmarks.html file to a Bookmarks folder I created on the C:\ drive. Then in my salted folder, I renamed bookmarks.html to Xbookmarks.html. By salted folder I mean:
    C:\WINDOWS\Application Data\Mozilla\Profiles\username\xxxxxxxx.slt

    This is the script I added to my user.js file:

    user_pref( "browser.bookmarks.file ", "C:\\Bookmarks\\bookmarks.html ");

    It worked perfectly!

    Post back if I have failed to make this perfectly clear.

    Ramona :D
     
  6. 2002/09/12
    tzeyen

    tzeyen Inactive Thread Starter

    Joined:
    2002/09/11
    Messages:
    5
    Likes Received:
    0
    Thanks again Ramona. I am using NT4 and don't seem to have a file called user.js. My profile user name is terryz, but I don't seem to have a terryz.js file either. Meanwhle, I noticed a file in the same folder where prefs.js is located which is called liprefs.js which seems to have the type of data that a user.js file might have. But when I added the following script to the bottom of the liprefs.js file and saved it...

    user_pref "browser.bookmarks.file ", "H:\\LIBDATA\NETSCAPE\\bookmarks.html ");

    it didn't work. I happen to notice that other command lines in the liprefs.js file had forward slashes rather than back slashes (if that makes any difference?).

    Any ideas?
     
  7. 2002/09/12
    tzeyen

    tzeyen Inactive Thread Starter

    Joined:
    2002/09/11
    Messages:
    5
    Likes Received:
    0
    just noticed in my previous post I gave you the wrong command line which I used. I actually used the following...

    user_pref( "browser.bookmarks.file ", "H:\\LIBDATA\NETSCAPE\\bookmarks.html ");

    I accidentally deleted the first open paren in my previous post.
     
  8. 2002/09/12
    tzeyen

    tzeyen Inactive Thread Starter

    Joined:
    2002/09/11
    Messages:
    5
    Likes Received:
    0
    Hi again Ramona...Thanks for your great help. I finally realized that it was the user.js OR prefs.js file I was suppossed to add the line to. When I added the following line to the prefs.js file ...

    user_pref( "browser.bookmarks.file ", "H:\\LIBDATA\\NETSCAPE\\bookmarks.html ");

    it works great! Thanks again for your gracious and expert help.
     
  9. 2002/09/12
    Ramona

    Ramona Geek Member Alumni

    Joined:
    2001/12/31
    Messages:
    7,481
    Likes Received:
    2
    tzeyen,

    The liprefs.js file is for Roaming Profiles, a feature which has not been enabled in Netscape 7.0. I would remove the entries from that file, as it is useless.

    You must create the user.js file. I should have mentioned this, but was going on the assumption that you were an experienced user. Sorry 'bout that! :eek:

    Netscape itself still uses the prefs.js like previous versions, but the 100% user-controlled user.js has precedence, that means any entry in user.js replaces any similar entry in prefs.js. Netscape on the other hand does not have the right to manipulate user.js, that means it will not be overwritten or changed by Netscape in any way. That's why changes to user.js can be made while Netscape 7 is running. User.js lives in your profile directory . Usually user.js has to be created using notepad or any other plaintext editor. Holger Metzger

    I put up my user.js as an example, HERE

    THIS is a list of scripts that can be used in the user.js or prefs.js files.

    Once you have created the user.js file, which I strongly recommend, then add your script for Bookmarks location. It should work.

    Post back and let us know how you progress.

    Ramona :D
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.