General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous12
Current Page: 2 of 2
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 13, 2018 01:49PM

Quote
siria
Quote
hermes
You paste MODERN CODE. Note the ";" symbol which was not there.
Sometimes there are other characters. The forum can adds some chars at certain endings.
Ah yes, noticed before elsewhere, URLs must be escaped. Fixed. Are there more flaws?

I do not remember now, but there have been cases that appeared " " and others. Then I change the end of message and inclusion chars - disappeared.



Edited 1 time(s). Last edit at 01/13/2018 01:49PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 13, 2018 02:48PM

@siria
Quote

Must admit didn't think of image-testing yet, my initial goal was just for general macro testing on an offline computer, especially some weeks ago verifying if site-specific useragents work on various KM-versions, perhaps after hacking omni.ja.
But if you provide such baby easy testpages, it can really be used for all sorts of stuff - great!

Then some more test pages smiling smiley. To test the USER-AGENT's (in conjunction with the baby server, you can create any URL): (~203 byte)
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/ZRNN1Xyv3RRRfj

As example, we want to test your UA on test.com ? OK, easy. Start the baby server add this page. Make sure it is available via 127.0.0.1 . You use either a local proxy, or a virtual machine, or a locally connected second computer and edit hosts file on this second "device":
iP* address of computer / proxy / virtual machine and [tab] + test.com .

--
*where running server

And open in browser test.com on second "device" smiling smiley.

Test for version of flash: (~1.5 Kcool smiley
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/rx8IxjGC3RRRoT



Edited 2 time(s). Last edit at 01/13/2018 03:48PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 13, 2018 03:41PM

@siria / rodocop

A simple method* for the local experiment at any URL (~145 Kcool smiley:
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/VGNEbMY63RRXFu

Hope it will help! At the same time, it shows why we need such small servers smiling smiley.

--
*Use the definition page UA from my post above.



Edited 2 time(s). Last edit at 01/13/2018 03:49PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 13, 2018 03:50PM

Quote
hermes
As example, we want to test your UA on test.com ? OK, easy. Start the baby server add this page. Make sure it is available via 127.0.0.1 . You use either a local proxy, or a virtual machine, or a locally connected second computer and edit hosts file on this second "device"

Hmm, and to test it on a "single" device, it's enough to edit its host file?
And/or to use KM-proxy prefs?

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 13, 2018 03:52PM

My post above (see video ~145 Kcool smiley. On single PC. Without any networks.
...
The hosts file does not block anything, but only redirects.
This seems like a lock when there is no local server.
And if server here, the records to have a different value.



Edited 3 time(s). Last edit at 01/13/2018 04:44PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: J.G.
Date: February 08, 2018 08:44AM

I have found another site that shows images despite of being blocked:
https://www.phoronix.com/scan.php?page=article&item=linux-412-io&num=2
The only way was to add *embed.php?i=* to the filters. :s

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: February 08, 2018 09:23AM

This SVG images. In fact is simple text ( https://en.wikipedia.org/wiki/Svg ).

http://openbenchmarking.org/embed.php?i=1705082-TR-IOSCHED2579&sha=40241cd&c=43b76209db4509c96a5cd963d7fd4635e0a23991

(size ~4.8 Kcool smiley

Quote

<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; version="1.1" font-family="sans-serif, droid-sans, helvetica, verdana, tahoma" viewbox="0 0 600 460" width="600" height="460" preserveAspectRatio="xMinYMin meet"><rect x="0" y="0" width="600" height="460" fill="#FEFEFE" stroke="#757575" stroke-width="2"/><g stroke="#757575" stroke-width="1"><line x1="87" y1="64" x2="87" y2="387"/><line x1="87" y1="386" x2="586" y2="386"/></g><a xlink:href="http://www.openbenchmarking.org/"; xlink:show="new"><text x="585" y="59" font-size="8" fill="#065695" text-anchor="end" xlink:show="new">OpenBenchmarking.org</text></a><polygon points="87,56 96,60.5 96,51.5" fill="#065695" stroke="#949494" stroke-width="1"/><text x="99" y="59" font-size="8" fill="#065695" text-anchor="start">Seconds, Less Is Better</text><rect x="0" y="0" width="600" height="48" fill="#231f20"/><a xlink:href="http://openbenchmarking.org/test/pts/sqlite-1.9.0"; xlink:show="new"><text x="6" y="19" font-size="17" fill="#FEFEFE" text-anchor="start" xlink:show="new" font-weight="bold">SQLite v3.8.10.2</text></a><text x="6" y="36" font-size="11" font-weight="bold" fill="#FEFEFE" text-anchor="start">Test Target: Default Test Directory</text><path d="m74 22v9m-5-16v16m-5-28v28m-23-2h12.5c2.485281 0 4.5-2.014719 4.5-4.5s-2.014719-4.5-4.5-4.5h-8c-2.485281 0-4.5-2.014719-4.5-4.5s2.014719-4.5 4.5-4.5h12.5m-21 5h-11m11 13h-2c-4.970563 0-9-4.029437-9-9v-20m-24 40v-20c0-4.970563 4.0294373-9 9-9 4.970563 0 9 4.029437 9 9s-4.029437 9-9 9h-9" stroke="#ffffff" stroke-width="4" fill="none" transform="translate(508,4)"/><line x1="87" y1="110" x2="87" y2="386" stroke="#757575" stroke-width="11" stroke-dasharray="1,45"/><g font-size="10" fill="#231f20" font-weight="bold"><text x="82" y="85" text-anchor="end">CFQ</text><text x="82" y="131" text-anchor="end">Noop</text><text x="82" y="177" text-anchor="end">Deadline</text><text x="82" y="223" text-anchor="end">mq-deadline</text><text x="82" y="269" text-anchor="end">Kyber</text><text x="82" y="315" text-anchor="end">BFQ</text><text x="82" y="361" text-anchor="end">None</text></g><g font-size="10" fill="#065695" text-anchor="middle"><text x="172" y="401">8</text><text x="255" y="401">16</text><text x="338" y="401">24</text><text x="421" y="401">32</text><text x="504" y="401">40</text></g><g stroke="#BABABA" stroke-width="1"><line x1="172" y1="64" x2="172" y2="381" stroke-dasharray="5,5"/><line x1="172" y1="382" x2="172" y2="391"/><line x1="255" y1="64" x2="255" y2="381" stroke-dasharray="5,5"/><line x1="255" y1="382" x2="255" y2="391"/><line x1="338" y1="64" x2="338" y2="381" stroke-dasharray="5,5"/><line x1="338" y1="382" x2="338" y2="391"/><line x1="421" y1="64" x2="421" y2="381" stroke-dasharray="5,5"/><line x1="421" y1="382" x2="421" y2="391"/><line x1="504" y1="64" x2="504" y2="381" stroke-dasharray="5,5"/><line x1="504" y1="382" x2="504" y2="391"/></g><g stroke="#949494" stroke-width="1"><rect x="87" y="70" height="34" width="260" fill="#2196f3" xlink:title="CFQ: 25.07"/><rect x="87" y="116" height="34" width="249" fill="#2196f3" xlink:title="Noop: 24.01"/><rect x="87" y="162" height="34" width="254" fill="#2196f3" xlink:title="Deadline: 24.45"/><rect x="87" y="208" height="34" width="261" fill="#2196f3" xlink:title="mq-deadline: 25.11"/><rect x="87" y="254" height="34" width="268" fill="#2196f3" xlink:title="Kyber: 25.79"/><rect x="87" y="300" height="34" width="348" fill="#2196f3" xlink:title="BFQ: 33.58"/><rect x="87" y="346" height="34" width="262" fill="#2196f3" xlink:title="None: 25.28"/></g><g font-size="8" fill="#065695" text-anchor="end"><text y="101" x="82">SE +/- 0.33</text><text y="147" x="82">SE +/- 0.18</text><text y="193" x="82">SE +/- 0.26</text><text y="239" x="82">SE +/- 0.42</text><text y="285" x="82">SE +/- 0.20</text><text y="331" x="82">SE +/- 0.09</text><text y="377" x="82">SE +/- 0.37</text></g><g font-size="10" fill="#FFFFFF" font-weight="bold" text-anchor="end"><text x="342" y="93">25.07</text><text x="331" y="139">24.01</text><text x="336" y="185">24.45</text><text x="343" y="231">25.11</text><text x="350" y="277">25.79</text><text x="430" y="323">33.58</text><text x="344" y="369">25.28</text></g><rect x="0" y="408" width="600" height="52" fill="#231f20"/><a xlink:href="http://www.phoronix-test-suite.com/"; xlink:show="new"><text x="585" y="420" font-size="9" fill="#FEFEFE" text-anchor="end" xlink:show="new">Phoronix Test Suite 7.0.0</text></a><a xlink:href="/prospect/1705082-TR-IOSCHED2579/43b76209db4509c96a5cd963d7fd4635e0a23991" xlink:show="new"><g transform="translate(4,409)" width="10" height="16"><path d="M5 0v6.5L0 11l3-3-3-3.5L5 0" fill="#038bb8"/><path d="M5 0v6.5l5 4.5-3-3 3-3.5L5 0" fill="#25b3e8"/><path d="M5 16V9l5-4.5V11l-5 5" fill="#e4f4fd"/><path d="M5 16V9L0 4.5V11l5 5" fill="#65cbf4"/></g></a><text x="5" y="434" font-size="8" fill="#FEFEFE" text-anchor="start" xlink:title="-O2 -ldl -lpthread" width="595">1. (CC) gcc options: -O2 -ldl -lpthread</text></svg>



Edited 1 time(s). Last edit at 02/08/2018 09:25AM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: J.G.
Date: February 08, 2018 10:50AM


I tried to block them adding the *svg* filter and some combinations about 'svg', but only the filter *embed.php?i=* worked for me. KMeleon image-blocking system is very good, but probably the way to face these new types of embedding images should be revised in future versions imho. :s



Edited 1 time(s). Last edit at 02/08/2018 01:39PM by J.G..

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.