New Opera Forums launching soon!
Discussion thread

Opera 2013-2015 mht files display blank screen

0perator2
0perator2

12 posts

    2013-2015 saved Opera mht files display blank screen with all browsers. Any ideas how to fix?

    Sample Mht file header:

    Content-Type: multipart/related; start=<op.mhtml.1416589862570.7b358c6a3c479e02@192.168.1.189>; boundary=----------r3ikZa4mihALLLH7nNm0p2 Content-Location: http://www.ebay.com/itm/371094024330?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT Subject: =?utf-8?Q? MIME-Version: 1.0

    ------------r3ikZa4mihALLLH7nNm0p2 Content-Disposition: inline; filename=371094024330.htm Content-Type: text/html; charset=UTF-8; name=371094024330.htm Content-ID: <op.mhtml.1416589862570.7b358c6a3c479e02@192.168.1.66> Content-Location: http://www.ebay.com/itm/371094024330?_trksid=p2059210.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT Content-Transfer-Encoding: Quoted-Printable

    <!DOCTYPE html> body #Body .btn, body #Body c-std { filter:none; -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=3D= '#0079bc',endColorstr=3D'#00509d')"; } =

    15 Replies - 270 Views

    sgunhouse
    0 0
    sgunhouse

    3875 posts

    • Moderator
    • Server monkey
    • 2000 posts

    Interestingly, mht is originally a Microsoft format. MSHTML to be specific. The web page included some things Opera didn't support - that last line you quoted would only work in IE back then.

    I didn't save web pages at the time, I suppose I could always fire up 12.18 and see...

    burnout426
    0 0
    burnout426

    1018 posts

    • Server monkey
    • 1000 posts

    Can you upload a full mht file somewhere so we can play with it?

    Or, are you saying I can save an mht file with Opera 12 and it won't load right in modern browsers?

    0perator2
    0 0
    0perator2

    12 posts

      One more observation today. It seams that problem is Ebay format. Just found one mht, which still exists on Ebay and this one opens normally

      Uploaded to Dropbox. Any ideas how to display content of this file?

      0perator2
      0 0
      0perator2

      12 posts

        0perator2
        0 0
        0perator2

        12 posts

          Please copy manually full URL and there is direct download, just please cancel Dropbox log in.

          sgunhouse
          0 0
          sgunhouse

          3875 posts

          • Moderator
          • Server monkey
          • 2000 posts

          The forum converts underlines to formatting; original post modified to convert URL into a link in Markdown.

          burnout426
          0 0
          burnout426

          1018 posts

          • Server monkey
          • 1000 posts

          Uploaded to Dropbox. Any ideas how to display content of this file?

          The last boundary in the file is missing the closing "--".

          So, change the last one from:

          ------------TFJmLK0MNSZQyxSc4602jI
          

          to

          ------------TFJmLK0MNSZQyxSc4602jI--
          

          There may be other errors, but that's one of them. Tested in Chrome only.

          sgunhouse
          0 0
          sgunhouse

          3875 posts

          • Moderator
          • Server monkey
          • 2000 posts

          For the record, looks fine in Opera 12.18 (which I still have installed).

          0perator2
          0 0
          0perator2

          12 posts

            Thanks

            I don't know the Opera version numbers but I have been using Opera more then 5 years as Opera has been most convenient and most stable. (and I have infected whole family)

            1. This file was from Jan. 23 2015 - Now I checked also some 2 other files saved same date and same minute - 2 of 3 had same problem but 3rd was ok. - the end was complete. :confused:

            2. Now there is uploaded one file of many Sept 09, 2013 files, which end is complete but still opens blank. Thanks for looking at this

            https://www.dropbox.com/s/iooa77vy4gp7i0r/Sept09-2013-2 yds medium pink stretch LINGERIE headband lace 2.25-idremoved.mht?dl=0

            0perator2
            0 0
            0perator2

            12 posts

              sgunhouse Btw I found from backups and installed Opera 12.02 and both uploaded files can be opened with version 12.02. Except Pioneer has lost it's main photo.

              sgunhouse
              0 0
              sgunhouse

              3875 posts

              • Moderator
              • Server monkey
              • 2000 posts

              If you wish to try with 12.18, it is still available here - select either "en" (English-only) or "int" (international - more languages), and then either 32 or 64 bit.

              burnout426
              0 0
              burnout426

              1018 posts

              • Server monkey
              • 1000 posts

              Now there is uploaded one file of many Sept 09, 2013 files, which end is complete but still opens blank. Thanks for looking at this https://www.dropbox.com/s/iooa77vy4gp7i0r/Sept09-2013-2 yds medium pink stretch LINGERIE headband lace 2.25-idremoved.mht?dl=0

              <div id=3D"t_CenterPanelDF" style=3D"display:none">
              

              to

              <div id=3D"t_CenterPanelDF" style=3D"">
              

              will show some of it.

              Judging by the security errors in the console about scripts not running, I would guess that some script that's supposed to unhide stuff isn't working. In this case, I think the issue with the mht file isn't anything to do with the MIME encoding of it like the last one and is an HTML issue in the HTML part. Look into it more later.

              burnout426
              0 0
              burnout426

              1018 posts

              • Server monkey
              • 1000 posts

              Try this.

              In Firefox, install the UnMHT extension so that Firefox can open/view mht files. Then, open the mht file in Firefox and you'll see that it works and doesn't load blank (and even shows the image preview when hovering over it). Then, click on the unMHT icon on the address bar and choose to save as a new mht file. This new mht file will then load in other browsers.

              With unMHT, there will also be an icon in the address field. You can click it to see the link of page the mht file was created from. In the case of this latest mht file you uploaded, you can just click on the ebay link to load the page (which is still there) and then save the page as an mht file with the unMHT icon. This will give you an updated mht file where the pic actually loads.

              0perator2
              0 0
              0perator2

              12 posts

                valuable info. I never needed to use Firefox so far. Daily I use Opera, Chrome and also MSIE for some specific MS services tasks. If no other ideas, then I must include Firefox into the bundle. Thanks.

                burnout426
                0 0
                burnout426

                1018 posts

                • Server monkey
                • 1000 posts

                Judging by the security errors in the console about scripts not running, I would guess that some script that's supposed to unhide stuff isn't working. In this case, I think the issue with the mht file isn't anything to do with the MIME encoding of it like the last one and is an HTML issue in the HTML part. Look into it more later.

                All scripts in mhtml files are blocked now in Chrome. See https://bugs.chromium.org/p/chromium/issues/detail?id=452901. So, the reason things aren't working right in the last mht file is because scripts aren't loading. There doesn't seem to be a way to disable the blocking. Scripts work for unMHT in Firefox though and when it saves things (when you use "current state" at least), it's displaying things as shown I think.

                The only way to work around it in Chrome I think is to somehow modify the Chrome source HTML that loads the mht content in a sandboxed iframe where you use "allow-scripts" in the sandbox attribute.