Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 3 отговора
  • 0 имат този проблем
  • 1 изглед
  • Последен отговор от 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?

Всички отговори (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.

Променено на от NoahSUMO

more options

Hi

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