Reply
Thread Tools
Posts: 863 | Thanked: 213 times | Joined on Feb 2012 @ Goa
#1
hello friends is der any way to edit or insert new cookie in microB? if yes then plz explain
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#2
Insert cookies?
Just visit any (not already looked at) web site.
 
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#3
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.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#4
Originally Posted by qwazix View Post
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?
__________________
information is a necessary though no sufficient condition to rationality...
 
Posts: 12 | Thanked: 5 times | Joined on Feb 2012
#5
Originally Posted by misterc View Post
java in microb on the N900...
did i miss something?
javascript
 

The Following User Says Thank You to byakabs For This Useful Post:
Posts: 863 | Thanked: 213 times | Joined on Feb 2012 @ Goa
#6
4AD01207CEA0C02E18B390A69EA563618C2F81834B328A39B7 05A7381EF498DE73D0E30E4AE683200DF2331CE0130B0B i want to add this cookie so plz expalin
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#7
@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.

Last edited by reinob; 2012-08-02 at 09:43. Reason: s/data/that/ && s/you/use/
 

The Following User Says Thank You to reinob For This Useful Post:
Posts: 863 | Thanked: 213 times | Joined on Feb 2012 @ Goa
#8
@reinob
be specific plz i mean tell in noob language
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#9
Originally Posted by seanmcken View Post
@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.
__________________
May the source be with you.
 

The Following 3 Users Say Thank You to jedi For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#10
@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!
 

The Following User Says Thank You to reinob For This Useful Post:
Reply

Tags
spoonfeed me


 
Forum Jump


All times are GMT. The time now is 11:37.