
improved offline web browsing
Source (link to git-repo or to original if based on someone elses unmodified work):
* Improved / bug-fixed web browsing for low-bandwidth connections.
* Improved / bug-fixed detection of cross-domain requests
* Referer-Urls are not send cross-domain (configurable)
Requires sources for kdelibs, kdebase and kdeaddons. If you use German localization you will probably want sources for kde-i18n-de too.
Webpages with enabled Javascript may not work 100% when browsing offline completely.
-- 2008-02-25
* Version r4/3.5.8 to r4/3.5.9
-- 2007-11-20
* Version r3/3.5.7 to r4/3.5.8
* kio: removed bogus assertions in the patch for the KIO scheduler.
* khtml: javascript scripts are scheduleJob() loaded as other HTML page elements. This helps to keep the number of kio_http slaves close to the number specified in $KDEDIR/share/services/http.protocol
-- 2007-06-07
* Version r2/3.5.6 to r2/3.5.7
* no changes in the code itself
-- 2007-05-08
* Version r2/3.5.6 to r3/3.5.6
* fixed bug: non cross-domain request were not detected in all cases leading to empty referrer URLs in HTTP request. This caused some sites like www.kde-apps.org not to work.
-- 2007-03-21
* new patches against KDE 3.5.6. No changes in the code itself.
-- 2006-12-16
* new patches against KDE 3.5.5
* favicon loader does not override http cache setting (bug in KDE?)
* fixed bug: Referrer URL was still sent cross-domain when clicking on a link like "a href ..." (embedded links like "img src=..." were ok)
-- 2006-20-06
* new patches against KDE 3.5.3. No changes in the code itself
-- initial release
* new patches against KDE 3.5.2. No changes in the code itself
Ratings & Comments
10 Comments
hi, it seems we (on the archlinux forum) are hitting some problems with these patches: http://bbs.archlinux.org/viewtopic.php?pid=246149#p246149 move a little back on the page - we have problems loading for example kde-apps.com and some others. Some refferal problem, according to the last person... I'm not very knowledgable in this area, but I DO notice the fact I can't reply on osnews.com anymore...
Sorry for the late reply, I haven't kept an eye on kde-apps.org. Someone already pointed out that bug to me. I have just uploaded a (hopefully) corrected version.
great! let's hope it fixes the problems ;-)
If you get the current domain with metaData("cross-domain") (kdelibs patch at line 123) it doesn't work here. I haven't looked so deeply into this to know why, but at the first glance, metaData("referrer") works.
Partially confirmed. Clicking on a link did indeed send the referrer when it should not. Pictures and other embedded objects were correctly filtered out, at least here. > but at the first glance, metaData("referrer") works. Just for clarification: The SendReferrerAcrossDomains option does not turn off sending of referrer-URLs completely! Use SendReferrer for that. It sends the referrer URL as long as the request goes to the domain of the top-level webpage. For example, a webpage on 'www.whatwhereever.com/webpage.html' that has 'img src=www.whatwhereever.com/images/space.gif' requests 'space.gif' together with a referrer URL. Another 'img src=www.adannoyer.com/banner.gif' does not get a referrer URL. The same procedure applies when clicking on links. Clicking on links in google page results should not send a referrer URL. If you observe different behaviour report a bug.
didn't find that update button first. *ouch* I hope no-one got confused.
File a wishlist item at bugs.kde.org and attach your patch to it, this will make it more visible to the maintainers of the code you improved!
I did so a few times, but were constantly hitting a KDE feature freeze. Someone pointed me to kde-apps.org to get it out so people can test it. In the time between I was too busy / lazy doing other things (working for example :-) But anyway, this is good idea. http://bugs.kde.org/show_bug.cgi?id=98695 http://bugs.kde.org/show_bug.cgi?id=118475
great work! i use this now and then, and it is great to see someone improving it...
Thanks. I made the changes about a year ago but haven't come around to publish them.