Opera Mail - how to block all images?

  • Hello,
    does anyone knows how to block all images in html emails and RSS feeds?
    Adding Suppress External Embeds=1 under [User Prefs] in operaprefs.ini didn't do anything, images in RSS are still downloaded and shown.

    Maybe there's a way to activate User CSS for all html content? I could do img {display:none !important} with that...

    //edit
    Show Images=1 also doesn't work

  • I presume you mean "Show images = 0", yes? For me, clicking the little arrow at the right end of the status bar and changing it to "No images" works as it should.

  • I presume you mean "Show images = 0", yes?

    No. I got "Show Images=1" from Opera 12 ini file since a lot of people and posts hinted at possible compatibility with Opera Mail's ini files. It's equal to "Show no images" option in Opera 12.
    AFAIK there's no other documentation for OMail ini files except 'looking at Opera 12 ini options' suggestion

    For me, clicking the little arrow at the right end of the status bar and changing it to "No images" works
    as it should.

    Does it keeps it's value between restarts for you? If it did, I wouldn't ask this specific question here... I am looking for a method to permanently disable images since I do not expect them in mail and any images are NSFW in my opinion when I am supposedly reading my mail/news

  • Does it keeps it's value between restarts for you?

    It doesn't keep the value through a restart for me. I don't remember if there's a way to keep it. If there is, I don't think it's in operaprefs.ini in this case. Mail seems to have a session-only state for Show Images. Only chance might be something in autosave.win. But, I checked quickly and didn't find an answer.

    You should be able to put

    img {
        display: none !important
    }
    // or omf|img
    

    at the bottom of styles/mime.css in the program files directory. However, that doesn't seem to work for me. You might have to try it with an older version of Opera Mail in an older version of the Opera suite (pre 12 maybe) to get it to work. The CSS headers mod in mime.css I think no longer works, which may be related to why the css above doesn't work. It may also/instead be due to the changes made a while ago to use yaml for the mail UI. Not sure.

  • Thanks for an idea about css! :)
    I added img block to feed.css, and that worked for RSS feeds.
    I think adding same code to mail.css would also hide images in email, can't check now since I have no html messages at the moment.
    Maybe now I can switch from my current memory hog (Thunderbird) to Opera Mail.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.