Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N9 Replacing the history browser by bookmarks

    Reply
    pmeuh | # 1 | 2012-11-23, 09:49 | Report

    Hi guys,

    As you know, with the basic browser of the N9 you got the history as the first page when you open it.

    What I'd like to do is to modify the file where the history is saved and replace the history by my own link, and then put this file on read only mode. So I would have my bookmarks on the welcome page of the browser app.

    My problem is that I have absolutely no idea where this file could be. Do you think this is doable and if yes do you have any idea where I could find it ?

    Thanks guys for reading
    Paul

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pmeuh For This Useful Post:
    Wikiwide

     
    thedead1440 | # 2 | 2012-11-23, 10:04 | Report

    just use the app Top Sites from store...You can't set it to read-only but you certainly can set the bookmarks view count to an extremely high value that won't allow them to be practically modified...


    Edit: FYI the .db is located in /usr/share/grob/url_history.db which if you modify could potentially need to have its sha1sum value updated in the refhashlist... I think a few months ago there was a similar post by The Best Isaac in which IIRC he mentioned he as able to modify the .db file without having to update refhashlist...Search the forum for it...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by thedead1440; 2012-11-23 at 10:06.
    The Following 3 Users Say Thank You to thedead1440 For This Useful Post:
    Criss123, smcsa, Wikiwide

     
    The Best Isaac | # 3 | 2012-11-23, 20:09 | Report

    As thedead1440 alread said, read-only mode is not possible. But you can edit the system default bookmarks. That way, whenever you reset your browsing history from settings your edited bookmarks get restored.
    But you can also alter the access counter to ensure your bookmarks stay on top. But think access counter isn't the only value that decides were your bookmarks get placed. I think the rank and the last access date are important, too.

    Read from here on to see what's to do. You'll need a tool for editing the SQLite, such as the "SQLite Manager" Firefox addon.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to The Best Isaac For This Useful Post:
    Wikiwide

     
    tortoisedoc | # 4 | 2012-11-23, 20:19 | Report

    I wanted to add this functionality to BWizz as well - so there is a SHA saved in Aegis - and that cannot be altered I guess or?
    EDIT: found some info on this: http://talk.maemo.org/showthread.php?t=85567&page=18

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to tortoisedoc For This Useful Post:
    Wikiwide

     
    pmeuh | # 5 | 2012-12-23, 14:46 | Report

    Thanks a lot guys.
    I use a very big number (maximum interger in sqlite is 2^63 = 9223372036854775808), and since you gave me the file to edit, my 'bookmarks' are still in place.

    Cheers !

    -edit-
    file to edit is /usr/share/grob/url_history.db
    table to edit is "TopSite"
    entry of "TopSite" table must look like:
    100 | http://m.lequipe.fr/ | L'Équipe | | | | FALSE | 9023372036854776000 | | 1
    The biggest number (in red column) will be shown first

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by pmeuh; 2014-03-25 at 20:29.

     
vBulletin® Version 3.8.8
Normal Logout