-------------------------------------------------
original message:
made some changes to Barrys newer example with buttons

- no more crashes on https sites
- uses fonts from profile setting "MU". To override my defaults, create a new profile MU in seamonkey.
- added a URL bar
- started to restructure the code, so that it resembles more my other examples

Sidenotes:
- crashed fixed by defining a profile
- The available methods of MozEmbed can be looked up in /usr/include/gtkembedmoz/gtkmozembed.h

- Unfortunately it seems, that libgtkmozembed is dropped in latest firefox/seamonkey/xulrunner.
So what API is replacing it?

In the interest of keeping this light and fast I think bookmarks are not needed. They can be kept in a separate text file and copied and pasted.

Downloading is vital, IMO.

I'm attempting to run this on my 486 with 2.16-fat_free-dillo (from big_bass). I know GTK is the issue. Gonna try to get the necessary dependencies only and see how it goes.

I've trialled many browsers on that system and so far text based are the best, however it would be nice to have a snappy gui browser on that old clunker. I am of the opinion that I can get this to work and work well. Even if it means an upgrade of OS.. (which is an immediate goal )

vovchik

I tend to agree with you. It is a browser certainly, but we are spoiled with features!

I like the idea of it, but why not use something thats universal, say a frontend to netsurf, since those guys a really taking their time with issues thats it has like it doesn't have "save as" so when you click on a pet in the repo, you get a whole page of code and no file. etc, you might be able to make a real nice small browser. Its just an idea, Also why provide a 35kb COPYING txt file? at one time it was a couple of lines saying its GPL, now its a full blown legal document, what a waste of space, for a 11kb program, why not just a weblink to the online document? it is a browser, so most would be using the net anyways with it even a better Idea would have this "COPYING" text file default in puppy, So any other files that you download can just be system linked to the one and only copy on the machine. Like if we had 10 files with the COPYING document, thats 350kb, so one installed by default and system link sounds better.
Really I like the old way better. Like the one in the dotpup package manager
#!/bin/sh
#Lesser GPL licence v2 (http://www.fsf.org/licensing/licenses/lgpl.html)
and that was it, one line not 674 Lines / 5644 words of stuff that most won't ever read from start to finish.
Anyways nice application and a great start. Doesn't work on uPUP, if opens up to a blank page, with google in the url, but the enter key doesn't work, I press enter and nothing happens.I can change the url, but no enter button to actually execute a webpage.
ttuuxx

Hi guys This is just an idea, but this tiny webbrowser named Atlantis http://freshmeat.net/projects/atlantis/ which was basically a front-end to gtkhtml.
With that in mind you could make this html viewer work on that base gtkhtml. That way you wouldn't need any other browsers installed.

To be used as the internal HTML viewer in Puppy, it must support CSS and Javascript, which rules out Netsurf and gtkhtml. Also for any kind of decent web browsing these days, you need both of those features._________________http://bkhome.org/news/

This browser is based on Seamonkey.
It uses a new, simpler grafical interface written in Genie/Gtk2, so it loads faster than Seamonkey.
I recommend in addition to view images/PDFs:
http://www.murga-linux.com/puppy/viewtopic.php?t=42075
You can run the pictureviewer from within Puppybrowser, and then drag PDFs on it.

You also might have to install "libgee" with petget or from this messages attachment, if it will not work.
If you have no menu entry, click on:
/usr/local/PuppyBrowser/puppy-browser

Changelog:

version 0.1:
- initial release with a new toolbar, bookmarks, search, buttons to download files.

version 0.2:

- fixed bug, that pages for "new windows" did not load.
They now open in the same window.

- added a statusbar, so you can see where a link points to, when you move the mouse over it.

- bookmarks were loaded twice using different code, removed the unneeded one.

version 0.3:

- optional buttons now located in the statusbar
- fullscreen mode
- tabbed browsing
- load/save the current tabs
- updated startscript, so it should work with newer installed seamonkey 1.x or with the xulrunner sfs.

version 0.4:

- fixed crashes caused by javascript popups (popups in most cases do NOT work, this is a limitation of gtkembedmoz).
- when you close a tab, the last one that was active before is selected again.
- using the same bookmark again now works with new tabs.
- fullscreenmode now hides the toolbars. Move the mouse to top or bottom, to show them. Move the mouse slowly, so that they hide again, this works not perfect yet.

- support for profiles
Run for example:
/usr/local/PuppyBrowser/puppy-browser -profile=fullscreen derbauer.de
(turn up sound, then relax and enjoy!)

A profile is a folder in /root/.PuppyBrowser/profiles.
If you pass a non-existent one, it will be created. Each profile has own saved tabs and bookmarks.
in addition, you can save there a "settings.rc".
I included 4 profiles:

default
- this is created when you run it the first time (your old tabs/bookmarks are copied to it).

fullscreen
- run the browser in fullscreen mode.

flashviewer
- runs the browser without any toolbar. Use it for example, to display Flash games in it, so the game looks like a native desktop application.

- 3 buttons support drag'n'drop:
- open new tab
- pictureviewer
- pwget
So you can drag a link on the "new tab" button, to open it in a new tab.

- pwget now is included, the updated version from gposil that suppots passwords.
I modified it, so that the download window will not close automatically, so that you can see, if the download had no errors.

- bookmarks fixed again. My last fix had a bug - you could no longer edit their names

Even comes with an icon and link here (once installed)
/usr/share/applications/puppy-browser.desktop
which can be dragged to the desktop

Mark, you must be dependent on some libraries from Seamonkey?
Would it be viable to use this in Puppy - allowing users to download a bigger browser if required? Preferences for Opera, Seamonkey, Firefox, Konqueror, Flock, Dillo etc would no longer be an issue . . .

How exciting
Using it in Upup Alpha 6 incidentally . . ._________________Puppy WIKI

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum