![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| getting url from mozilla window | phani_sree | High Level Programming | 2 | 11-15-2006 11:23 PM |
| Mozilla Navigator | selim | Linux | 1 | 03-04-2005 07:09 AM |
| Does anyone use Mozilla Thunderbird | cnitadesigner | UNIX for Dummies Questions & Answers | 1 | 01-05-2005 03:13 PM |
| Mozilla in Linux | gnerd | Linux | 2 | 06-27-2004 01:39 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
mozilla object
hi this
i tried for getting url form mozilla window. and also for getting mozilla object file. is there any plz tell the way. thanking u. ramesh |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
regarding URL
hi
i tried for getting url in mozilla and used this commands loading url google.com open_uri_cb http://google.com/ load_started_cb but noway from these anybudy is there to help me plz thanking u ramesh |
|
#3
|
|||
|
|||
|
mozilla
hi
i tried like this main() { char *str; str=system("/usr/bin/mozilla ","r"); printf("str= %s",str); } but i did n,t get the url is anywat to this thaks. ramesh } |
|
#4
|
||||
|
||||
|
Please stop duplicating the posts. I have merged all the threads.
To get the URL there is not easy way out. This is what you have to do. Go to ~/.mozilla/default/<some-random-string>/history.dat Open the file, go the end and search for an url string. This is what I have in my history.dat. The string in red is what you need to extract. www.unix.com was the last URL I visited. Code:
<(4AE5=http://www.unix.com/)(4AE6=1163662659213668)(4AE7=www.unix.com)
(4AE8
=T$00h$00e$00 $00U$00N$00I$00X$00 $00F$00o$00r$00u$00m$00s$00 $00-$00 $00t\
$00h$00e$00 $00T$00o$00p$00 $00U$00N$00I$00X$00 $00&$00 $00L$00i$00n$00u$00x$00\
$00Q$00&$00A$00 $00o$00n$00 $00t$00h$00e$00 $00W$00e$00b$00)>
{1:^80 {(k^81:c)(s=9)1 } [-92B(^82^4AE5)(^84^4AE6)(^85^4AE6)(^88^4AE7)
(^8A=1)(^86=2)(^87^4AE8)]}
@$$}11}@
@$${12{@
@$$}12}@
|
|
#5
|
|||
|
|||
|
mozilla
hi vino
thank you verymuch. u'd given lot of information. yes. ur , i find urls in that file. and i've another doubt. how can i get the current url from that file. show me the way. ram |
|
#7
|
||||
|
||||
|
Quote:
I dont have any boilerplate code at the moment to post. From what I can see, you need to detect lines starting with a '<' and then strings within (var=/some/url). |
||||
| Google The UNIX and Linux Forums |