Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 3 trả lời
  • 0 gặp vấn đề này
  • 18 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Tất cả các câu trả lời (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.

Được chỉnh sửa bởi NoahSUMO vào

more options

Hi

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