This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

What is wrong with the data URLs on Android and iOS?

  • 3 svar
  • 0 har dette problemet
  • 1 view
  • Siste svar av Paul

more options

On Android, we cannot enter data URLs in the address bar. (For example data:,String1 ) We are redirected to the Google search result. However, we can use data URLs from bookmarks. On iOS, Firefox rejects any data URL even from bookmarks. At the same time, Chrome on Android and Safari on iOS don't have any issue with data URL. Why does mobile Firefox handle data URLs differently than the desktop version? Is it a bug?

On Android, we cannot enter data URLs in the address bar. (For example data:,String1 ) We are redirected to the Google search result. However, we can use data URLs from bookmarks. On iOS, Firefox rejects any data URL even from bookmarks. At the same time, Chrome on Android and Safari on iOS don't have any issue with data URL. Why does mobile Firefox handle data URLs differently than the desktop version? Is it a bug?

All Replies (3)

more options

Hi

This is something that our developers are aware of and are looking into. You can follow progress on this and add comments at:

https://github.com/mozilla-mobile/fenix/issues/1681

more options

I would like to add more details about the usage of my data urls. I have been using them a lot for three main purposes. On desktop I use it all the time as scratchpad:

data:text/html,<html contenteditable/><title>Edit</title> or even data:text/html,<textarea></textarea>.

I use a lot of small Javascript utilities to print dates in various formats, change text case, etc.

I use data urls to bookmark many important notes, various numbers, names. Everything that goes beyond logins. Thus, this information is available through the Firefox account on my devices, including Android devices.

Today on Android the data url still works via bookmarks. Previously, we could enter "data:...." directly into the address bar. I found one of my old phones running Firefox 67.0. In Firefox 67.0 there is no issue with data URLs.

Now when I type data:,str1 I am redirected to the Google search result. https://www.google.com/search?q=data%3A%2Cstr&ie=utf-8&oe=utf-8&client=firefox-b-m Unfortunately, currently the data url doesn't work at all on iOS.

Endret av NoahSUMO

more options

Hi

Please follow up on the link that I provided in my reply above.