Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-03

simple browser using minimal bandwidth

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

duilio foschi

I need to travel to an african country where bandwidth is very poor.

The country is full of internet cafes but it takes hours just to download your email...and you must be lucky! :)

I created an email client that will download only email headers from GMAIL and will download the email body only when requested.

Now I'd like to create a simple browser that will download only the text of a page and will download images, audio, etc only when requested.

Could you please suggest a way to create such a software quickly ?

I read I should control "background events in websites" (reference: http://www.groundcontrol.com/BGAN_Optimized_Laptop.htm)

What does this mean ? And how can I control those events ?

Thank you

Peppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160313/84027544/attachment.html>

Reply by email

Kostas Michalopoulos
to duilio foschi

For images specifically Firefox has this ability out of the box, but in recent versions it is only available via about:config instead of the normal UI. This page describes (with screenshots) how to use it:

https://techjourney.net/disable-turn-off-automatic-images-loading-in-firefox/

If you really need to keep things small (no CSS, no scripting, etc), you can try the OffByOne browser from here (only download location 2 works):

http://offbyone.com/offbyone/

Obviously it only works with pages that work without scripting and doesn't display correctly anything that relies too much on CSS.

If you want to write your own browser in Lazarus, including your own HTML engine, etc you probably want to start by looking the WhatWG HTML spec at https://html.spec.whatwg.org/multipage/

duilio foschi wrote 30 lines
I need to travel to an african country where bandwidth is very poor. The country is full of internet cafes but it takes hours just to download your email...and you must be lucky! :) I created an email client that will download only email headers from GMAIL and will download the email body only when requested. Now I'd like to create a simple browser that will download only the text of a page and will download images, audio, etc only when requested. Could you please suggest a way to create such a software quickly ? I read I should control "background events in websites" (reference: http://www.groundcontrol.com/BGAN_Optimized_Laptop.htm) What does this mean ? And how can I control those events ? Thank you Peppe -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160313/5d35b3bc/attachment.html>

Reply by email