• DangerousInternet@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      It can do it with js. Save this as bookmarklet, if you need to open html with firefox for some reasons.

      data:text/html;base64,PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgo8c2NyaXB0PgpmdW5jdGlvbiB4KCkgewpjb25zdCBpbnBmaWxlID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgnaW5wdXQnKTsKaW5wZmlsZS5zZXRBdHRyaWJ1dGUoJ3R5cGUnLCAnZmlsZScpOwppbnBmaWxlLm9uY2hhbmdlID0gKCkgPT4gewpjb25zdCBmaWxlID0gaW5wZmlsZS5maWxlc1swXTsKY29uc3QgcmVhZGVyID0gbmV3IEZpbGVSZWFkZXIoKTsKcmVhZGVyLmFkZEV2ZW50TGlzdGVuZXIoJ2xvYWQnLCAoKSA9PiB7CmNvbnN0IGlmcmFtZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2lmcmFtZScpOwppZnJhbWUuc3R5bGUud2lkdGggPSAnMTAwdncnOwppZnJhbWUuc3R5bGUuaGVpZ2h0ID0gJzEwMHZoJzsKZG9jdW1lbnQucXVlcnlTZWxlY3RvcignYm9keScpLnJlcGxhY2VDaGlsZHJlbihpZnJhbWUpOwppZnJhbWUuc3JjZG9jID0gcmVhZGVyLnJlc3VsdDsKfSk7CmlmIChmaWxlKSB7CnJlYWRlci5yZWFkQXNUZXh0KGZpbGUpOwp9Cn07CmlucGZpbGUuY2xpY2soKTsKfQo8L3NjcmlwdD4KPC9oZWFkPgo8Ym9keSBzdHlsZT0ibWFyZ2luOiAwOyBwYWRkaW5nOiAwIj4KPGJ1dHRvbiBvbmNsaWNrPSJ4KCkiPk9wZW48L2J1dHRvbj4KPC9ib2R5Pgo8L2h0bWw+Cg==
      
    • cornshark@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 months ago

      I opened example.com, which I believe contains some html, and Firefox on Android was able to display it successfully. How do you reproduce this issue? Or do I just have an older version and they removed the html-displaying feature in newer versions on Android?