General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: 12Next
Current Page: 1 of 2
Image loading disabled, but still see images on some sites
Posted by: Mello
Date: January 10, 2018 11:46PM

Couple of examples

https://www.theguardian.com/football
http://www.football365.com/

Are they using some special image format?

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: Yogi
Date: January 11, 2018 01:06AM

You can use iFramesLocator made by JonHell.
You won't see any images on your example-sites anymore.

Read the instructions first and make sure that you place the files at their right location!!!

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 11, 2018 02:01AM

Quote
Mello
Couple of examples

https://www.theguardian.com/football
http://www.football365.com/

Are they using some special image format?

Not sure, perhaps still-images of videos can escape the image-block?
Or perhaps you set their source-domains as exceptions?

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 11, 2018 09:29AM

Disabling image loading, blocks loading images via the <img src = ...> tag, but does not block images loaded through CSS styles.
...
To completely block any images (except inscribed in the page as base64 code), You can use the built-in or external AdBlock with the $image rule.



Edited 1 time(s). Last edit at 01/11/2018 09:33AM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: J.G.
Date: January 11, 2018 01:32PM

Some pages have *.webp format images.
Filters for adblock:
*.jp*g
*.bmp
*.gif
*.png
*.tif*
*.svg
*.webp
smiling smiley

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: Mello
Date: January 11, 2018 04:28PM

I've installed iFramesLocator checked the files are in the right locations
restarted km tried several pages on example sites but images still load.

Before I try other suggestions will they allow me to toggle images on and off?

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: Yogi
Date: January 11, 2018 05:56PM

Quote
Mello
I've installed iFramesLocator checked the files are in the right locations
restarted km tried several pages on example sites but images still load.

screenshot
https://www.theguardian.com/football

screenshot
http://www.football365.com/

It works fine for me. Sorry that it doesn't for you.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 11, 2018 06:34PM

@Mello, sorry I can't help with those special CSS-images, but just in case: if the reason you want to block all images is a major bandwidth prob, some other block-prefs may be of interest too:

all are type INT and 1=allow / 2=block / 3=same site only

permissions.default.subdocument : blocks frames, iframes etc.
permissions.default.media : blocks html5 videos...
permissions.default.object : blocks embedded videos, flash...
permissions.default.stylesheet : blocks css-FILES
permissions.default.xmlhttprequest : extra dangerous JS, most Ajax...
etc. ... (long list)



Edited 1 time(s). Last edit at 01/11/2018 09:28PM by siria.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: anonymous
Date: January 11, 2018 08:23PM

@Mello
Both sites have something in common. Try to turn off dom.image.srcset.enabled. Maybe Siria can add fifty-five lines of macro code to toggle it with "Block Image".

@Siria
What browser version did you use to test those permissions? Didn't you get IIS running to browse offline?

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 11, 2018 08:47PM

Quote
anonymous
@Mello
Both sites have something in common. Try to turn off dom.image.srcset.enabled. Maybe Siria can add fifty-five lines of macro code to toggle it with "Block Image".

@Siria
What browser version did you use to test those permissions? Didn't you get IIS running to browse offline?

Har har...55 lines tongue sticking out smiley I know my macros tend to grow and grow and grow... while writing them, but for a simultaneous toggle he can simply insert 1 more line to the existing image macro (guess in main.kmm)
(@Mello: if that one is the reason, then you must have javascript enabled?)

What's IIS...? Am using those permissions very happily in KM1.6 all the time. But when I last looked something up about them recently, on the Mozilla pages, it didn't look as if they were obsolete meanwhile?
Ah it dawns... no can't get that local server thing or what that is running, slightly above my head, and don't want to risk open some doors that I later forget and can't close anymore, but oh well, no major prob.



Edited 1 time(s). Last edit at 01/11/2018 08:56PM by siria.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: anonymous
Date: January 11, 2018 11:19PM

@siria
You should try IIS. Turn Windows features on or of. Look for 'Internet Information Service'. You can remove it after testing and add it again in a minute.

KM 1.6 is eight years old and its 'subdocument' permission reminded me of something. When they removed the preference setting to enable frames I added that feature to the browser and kept the old preference setting for kmprefs.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 12, 2018 10:25AM

@siria / anonymous

Why IIS? There is a sea of alternatives!
For example, a very compact program for all such needs: http://smallsrv.com/ (~146 KB ! ).
Simply, clearly and conveniently (unlimited trial time).
...
Works from Windows 95 to Windows Server 2016. Can be worn on a flash drive.
You just need to guess to right-click on the title bar of the program and select server item
(in menu).



Edited 1 time(s). Last edit at 01/12/2018 10:29AM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 12, 2018 01:34PM

@hermes
that thing sounds worth a look, but the website is down and google full of malware warnings sad smiley

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 12, 2018 02:35PM
Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: anonymous
Date: January 12, 2018 04:41PM

@hermes
You are right, any server will do, but this is about Vista offline. IIS is available without downloads and without a potential risk to harm the operating system. Some browser tests need features that can be enabled in IIS and there are web-pages for Vista in her language with images and step-by-step instructions.

@siria
ISS creates C:\inetpub\wwwroot[/i].

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 12, 2018 04:44PM

@siria

I don't know, why You cannot open original site : ( .
For me the site is available directly and via proxy (including a proxy located in Germany).
And when you search in google for site name, I don't see any messages about malware.
(as example http://www.google.com/search?q=http%3A%2F%2Fsmallsrv.com%2F+Small+HTTP+server&btnG=%D0%9F%D0%BE%D0%B8%D1%81%D0%BA&newwindow=1&dcr=0&gbv=1 )

Small HTTP server (free for personal use)
Win95/98/NT Shareware, $25. This utility contents Web/Proxy/FTP/DNS/SMTP/POP3-servers. The program itself requires a minimal set of system resources, so the server's functioning doesn't influence your computer's performance. This server can function under a LAN networking or even under a Dial-Up networking. Webmasters can run this utility on their local computers and debug their CGI-scripts without going on-line. Support CGI 1.1, SSI, PHP, etc...

I can lay out portable version if there are problems.
Anyone have problem with opening website http://smallsrv.com/ ? :s

You can open from google cache (?):
http://webcache.googleusercontent.com/search?q=cache:lbsSMzADptoJ:http://smallsrv.com/%2Bhttp://smallsrv.com/&newwindow=1&dcr=0&hl=en&ct=clnk



Edited 7 time(s). Last edit at 01/12/2018 04:59PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: Yogi
Date: January 12, 2018 05:23PM

Quote
hermes
Anyone have problem with opening website http://smallsrv.com/ ? :s

It opens fine for Yogi from Germany. smiling smiley



Edited 1 time(s). Last edit at 01/12/2018 05:24PM by Yogi.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: anonymous
Date: January 12, 2018 06:17PM

My suggestion was bad. 'Block Image' uses permissions.default.image and that blocks images from srcset.

I didn't see any images because 'www.football365.com' delivers different content based on user-agent settings.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: siria
Date: January 12, 2018 10:17PM

Quote
Yogi
Quote
hermes
Anyone have problem with opening website http://smallsrv.com/ ? :s

It opens fine for Yogi from Germany. smiling smiley

Still same error here:
"www.smallsrv.com could not be found.
Please check the name and try again."

The link to googlecache works, the page appears.
Only when I click on a download link - it tries to open the original site, and gives same error again.

http://urlquery.net/report/ef785815-0a63-43dc-9e3d-c74e66cca295
http://www.malwareurl.com/ns_listing.php?as=AS25408

But if there are so many other alternatives too, perhaps another works better for me?

PS: currently no vista, but xp3, tiny old netbook.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: anonymous
Date: January 12, 2018 10:37PM

@siria
Could be an Acer Aspire ONE. IIS is available in XP SP3.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: Yogi
Date: January 12, 2018 10:59PM

@siria

It looks like some software on your system is blocking that domain (smallsrv.com).
Maximum protection, so to speak. smiling smiley

Edit:
After downloading and looking closer at the file:
MD5 and file size of latest version (3.05.93) doesn't match with those declared on the official site.
These allone are good reasons to dump the file regardless of its kind (malware or not)!
---------------------------------------
Nonetheless the file looks to be clean since all decent AVs are merely detecting the server functionality of the (unknown) binary.



Edited 1 time(s). Last edit at 01/13/2018 12:48AM by Yogi.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: J.G.
Date: January 12, 2018 11:47PM

http://smallsrv.com/ fine from here w/ KMG20180106. smiling smiley

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: hermes
Date: January 13, 2018 10:04AM

@siria

In General, Small HTTP server, product quite Enterprise-class. As written:

Quote

This software is "small" by size of file only. Just the code is optimized. It named "HTTP" because, in past, first versions was HTTP only. Now it is powerful universal server software for small, middle, and big companies.

This is not advertising, just a fact. We use for real work with ~5000 workstations (on Windows Server 2K3). He is faster and more economical than IIS smiling smiley.
As workstations are PCs from Windows 2000 to Windows 10. It is a really great server.
There is a version for Linux, ARM. Even ordered some modifications in private order smiling smiley.

Quote

siria

But if there are so many other alternatives too, perhaps another works better for me?

Of course! Even less (~90 KB ! ) smiling smiley
http://www.pablosoftwaresolutions.com/html/baby_web_server.html
Only his ability is minimal, but it is completely freeware!

The local page you selected in the settings will be available at URL: 127.0.0.1



Edited 7 time(s). Last edit at 01/13/2018 10:28AM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: rodocop
Date: January 13, 2018 10:44AM

I have the same problem with smallsrv.com like siria.

But, folks, couldn't you clarify - what are all that webservers for? I'm slightly lost in this thread now.

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

@rodocop

Interesting smiling smiley. Well, this site opens not only for me (as confirmed by Yogi and J.G.).
Strange, then something is filtering the traffic. Provider? The matrix? :cool:
██████████████▀▀▀▀▀▀▀▀▀▀▀▀██████████████
██████████▀▀░░░░░░░░░░░░░░░░▀▀██████████
███████▀░░░░░░░░░░░░░░░░░░░░░░░░▀███████
█████▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░▀█████
███▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▀███
███▄▄░░░░▄▄▄▄▄▄▄░░░░░░░░▄▄▄▄▄▄▄░░░░▄▄███
███████▄█▄▄▄▄▄▄▄█▄░░░░▄█▄▄▄▄▄▄▄█▄███████
████████████████████████████████████████
████████████████████████████████████████
█░░▀██████████████▀░░░▀█████████████▀░░█
█░░░░░▀▀███████▀▀░░░░░░░▀▀██████▀▀░░░░░█
█▄░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▄█
██░░░░░░░░░░░░░░ MATRiX ░░░░░░░░░░░░░░██
██▄░░░░░▄░░░░░░░░░░░░░░░░░░░░░░▄░░░░░▄██
███▄░░░░███▄░░░░░░░░░░░░░░░░▄███░░░░▄███
████▄░░░░░▀▀█▄▄▄░░░░░░░▄▄▄█▀▀░░░░░░▄████
██████▄░░░░░░░▀█████████▀░░░░░░░░▄██████
█████████▄▄░░░░░░░░░░░░░░░░░░▄▄█████████
█████████████▄▄▄▄▄▄▄▄▄▄▄▄▄▄█████████████
Quote

But, folks, couldn't you clarify - what are all that webservers for? I'm slightly lost in this thread now.

For debugging pages, browser and reproduction of defects (locally). For example, many filters of Adblock cannot debug with opening a local file, and using 127.0.0.1 and a simple Web server is very easy. Now the question was about images that you cannot lock / disable.


@siria

To make it easier for You, I prepared examples of these tricky images for local debugging separately. Without all needs for a local web server. Hope, it can help.

Paste the text below into a simple text file and save with the extension HTM.

The forum inserts a text / code with errors sad smiley, i did 2 files (attached): (~782 Bytes)
(direct link) https://getfile.dokpub.com/yandex/get/https://yadi.sk/d/DUv28c293RRGwB

New KM based on Goanna engine can lock images in all cases, 76 RC2 can not block images on the page named as "modern_code".



Edited 6 time(s). Last edit at 01/13/2018 12:28PM by hermes.

Options: ReplyQuote
Re: Image loading disabled, but still see images on some sites
Posted by: rodocop
Date: January 13, 2018 01:08PM

I was able to visit smallsrv.com using Ultrasurf - so it seems to be banned by some regulators or providers worldwide.

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

Quote
rodocop
I was able to visit smallsrv.com using Ultrasurf - so it seems to be banned by some regulators or providers worldwide.

Well, we're in same country and distance between the cities is minimal.
...
I do not know as server written by one enthusiast (and very successfully written) could have prevented someone. M$? smiling smiley

This lock is meaningless. This is silly, as blocking K-MELEON anywhere.



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

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

[_check_ offline testing local server baby Apps] .

Yeah, the provider is my suspicion too, as my main block tool is host file and ExExceptions. And those don't contain that site.
But it's always possible that his site was hacked, and that could also be a ban reason.

Ha, those "baby" servers and pablosoft in general look very much like made for ME, thanks! :-)
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!

Quote
hermes
Paste the text below into a simple text file and save with the extension HTM.
The forum inserts a text / code with errors sad smiley, i did 2 files (attached): (~782 Bytes)

Testing forum:
MODERN CODE:
<img srcset="http://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/KM-circle.png/79px-KM-circle.png">
<img srcset=http://kmeleonbrowser.org/forum/mods/smileys/images/g001_ssad.gif>
<div style="background-color:red; color:yellow"><hr><h1>>> CANNOT_DiSABLE !<hr>

CLASSIC CODE:
<img src=http://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/KM-circle.png/79px-KM-circle.png>
<img src=http://kmeleonbrowser.org/forum/mods/smileys/images/g001_ssmile.gif>
<div style="background-color:green;color:yellow"><hr><h1>>> TEST_OK !<hr>

(@hermes: on top of posting editor there are some checkboxes. If code above is ok, just disable smilies)



(sig) New unofficial K-Meleon 76.4 (KMG76.4) available, in own subforum.
Based on Goanna engine, called 'test' builds forever but more stable as 75.1 acc. forum members. It's 1-2 generations ahead of predecessor KM76RC-2016
K-Meleon FAQ (link missing in forum sidebar)
Tips&Tricks - Learning new stuff every day
New to K-Meleon? What do you like? What not?



Edited 5 time(s). Last edit at 01/13/2018 07:57PM by siria.

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

Quote
siria
Testing forum:
...

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.



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

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

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?

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


K-Meleon forum is powered by Phorum.