maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Cookies nokia N900 (https://talk.maemo.org/showthread.php?t=85819)

seanmcken 2012-08-01 19:07

Cookies nokia N900
 
hello friends is der any way to edit or insert new cookie in microB? if yes then plz explain

peterleinchen 2012-08-01 19:31

Re: Cookies nokia N900
 
Insert cookies?
Just visit any (not already looked at) web site.

qwazix 2012-08-01 19:50

Re: Cookies nokia N900
 
you can write the relevant javascript code in a .html file and open it with microb. Or use a bookmarklet.

Also you could check if there is any online tool with cookie adding functionality.

misterc 2012-08-01 20:28

Re: Cookies nokia N900
 
Quote:

Originally Posted by qwazix (Post 1246186)
you can write the relevant javascript code in a .html file and open it with microb. Or use a bookmarklet.

Also you could check if there is any online tool with cookie adding functionality.

java in microb on the N900...
did i miss something? :confused:

byakabs 2012-08-01 23:02

Re: Cookies nokia N900
 
Quote:

Originally Posted by misterc (Post 1246201)
java in microb on the N900...
did i miss something? :confused:

javascript :o

seanmcken 2012-08-02 03:51

Re: Cookies nokia N900
 
4AD01207CEA0C02E18B390A69EA563618C2F81834B328A39B7 05A7381EF498DE73D0E30E4AE683200DF2331CE0130B0B i want to add this cookie so plz expalin

reinob 2012-08-02 07:36

Re: Cookies nokia N900
 
@seanmcken,

Error: Insufficient information.

You need at least a name and a value. You've posted (presumably) two values. Normally you'd also need the hostname (unless you want the browser to send that cookie to every server). An expiry date is also nice to have, but not required.

Once you have that, grab ~/.mozilla/microb/cookies.sqlite

and use a SQLite editor to delete/edit/insert cookies. Then place the updated file back in the above folder.

seanmcken 2012-08-02 10:46

Re: Cookies nokia N900
 
@reinob
be specific plz i mean tell in noob language

jedi 2012-08-02 11:30

Re: Cookies nokia N900
 
Quote:

Originally Posted by seanmcken (Post 1246402)
@reinob
be specific plz i mean tell in noob language

http://en.wikipedia.org/wiki/HTTP_cookie

Read that first. Educate yourself - the internet is a fine resource of information.

reinob 2012-08-02 11:38

Re: Cookies nokia N900
 
@seanmcken,

OK I'll try...

Code:

u need 2 fnd tha name and value of the cookie b4 u can do nothing!
then u copy[*] /home/user/.mozilla/microb/cookies.sqlite to ur computer.
then u find a SQLite editor. if u use firefox download the "SQLite Manager" add-on.
then u edit the cookies.sqlite database to ur liking[**].
then u copy the cookies.sqlite file back to /home/user/.mozilla/microb/cookies.sqlite

[*] find the file with a file manager (filebox), copy it to Mydocs and then to your computer using USB mass storage. Do the opposite when copying the file back to your N900.

[**] you have to figure out yourself the structure and format of the database. I cannot help with you with that, as I have no interest in editing the cookies database.

Hope my tut was noob enough man! :)


All times are GMT. The time now is 14:42.

vBulletin® Version 3.8.8