Git Product home page Git Product logo

webbrowser's Introduction

WebBrowser

I wanted to use the webBrowser control in WinForms to make a fully fledged web browser. Obviously I didn't make the webBrowser element, just the UI surrounding it. The intent is for it to be customizable, with options to change the program icon and title. There will probably be more options in the future, so stay tuned for those. If you are interested in the code, there are tons of comments so you can understand how it works.

What everything is and what it does

The main window

Diagram of the main window

Reload

Sends the refresh command to the page, reloading it.

URL bar

This displays the URL of the page you are currently on, whilst also allowing you to enter your own URL to directly go to that page. Hitting return on your keyboard will load the URL in the bar. Pressing the go button does the same thing.

Go button

Pressing this loads the page in the URL bar. Pretty fundamental.

Back and Forward buttons

Pressing these tells the webBrowser to go either backwards or forwards along visited pages respectively. This is useful if you want to go back to a previous page and vice versa.

Home Button

When pressed, it loads the address specified in the Homepage option in Settings. See Settings for how to configure this page.

Status Indicator

This is a small label containing a short string, like "Idle", "Loading" or something like that. Its purpose is to tell you when the web browser is doing something.

EXIT

This button opens the Settings menu, which we are just about to talk about.

Settings

Settings dialog

Homepage

This textbox contains the page that is first loaded when the browser opens. Leave blank to disable this feature.

Remember last page visited

If checked, the browser keeps track of the last page you visited was, and the next time you open the browser it opens that page.

Use HTTPS

By default, the browser attempts to use HTTPS automatically. You can specify to use http in the URL bar, but this makes HTTPS the default option. I recommend that this box remains checked to ensure privacy, but if you want, it can be disabled.

Choose custom icon

If you have an image that you want to set to the program icon, you can select it here. The image has to be in the .ico format, but there are countless online conversion tools to convert ordinary images into this format. Note that if you delete the icon image, the browser will not be able to load it at startup, and will revert to the standard icon.

webbrowser's People

Contributors

kaizen86 avatar

Watchers

James Cloos avatar

Forkers

shareview

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.