Thread: Coding a smiple mini-browser

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    1

    Coding a smiple mini-browser

    ^^ typo, sorry should be simple.

    I'm pretty new to programming, and this is going to be my first 'real' app, so sorry if I sound a bit stupid!

    What I want to do is have a program with 2 buttons to let you visit 2 web pages. Nothing more, no user url input or anything that a normal browser would do. My thoughts at the moment are to embed firefox into the program somehow to handle all the web stuff and just use the buttons to pass urls to firefox. Am I right in thinking that this way I don't need to worry about sockets and things? I've had a look at the firefox website which has examples of builds based around firefox, but to be honest they all either use platform specific programs not available to me or go over my head!

    I'm on a mac, but hopefully this program will be cross platform (hence why I think firefox would be good, also I just like it). Another thing that's still puzzing me is the difference between firefox and gecko. From what I can gather, gecko is the rendering engine that firefox uses. Is that right? So it would be best for me to try and use a barebones version of firefox so it can handle all the data transfer?

    Any tips or pointers in the right direction would be great. Thanks.
    Last edited by ambientfox; 01-14-2007 at 01:05 PM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    It would seem to me that the easy way to do this would be a few lines of javascript running inside the browser itself.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Internet Browser Handling
    By pobri19 in forum Windows Programming
    Replies: 9
    Last Post: 04-04-2009, 06:19 AM
  2. new Opera mini - web browser for any java enabled mobile
    By xErath in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-29-2006, 04:23 PM
  3. Getting Default Browser and Running It
    By Driver in forum Windows Programming
    Replies: 4
    Last Post: 10-22-2004, 02:08 PM
  4. Replies: 4
    Last Post: 05-28-2002, 06:19 PM