Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Strange Web Viewer bug with WebDirect, Chrome, Data URLs and background colours

Featured Replies

Hi,

This is a peculiar bug which seems to have appeared with a recent Chrome update.

Create a Web Viewer control with the following content:

"data:text/html,<html><body bgcolor=\"#EEEEEE\">HELLO</body></html>"

Then view the layout in WebDirect in Chrome. You'll notice it doesn't display anything. Remove the bgcolor and it works as expected. It also works in FileMaker.

There are numerous workarounds but I can't find out how to fix it.

 

Anyone else experienced this?

I am not in a position to test this, but you might try making your code HTML5 compliant:

<html><body style='background-color: #EEEEEE';>HELLO</body></html>

 

  • Author

I should've mentioned I'd also tried using CSS (as you suggested) and it didn't work. Just tested again to make sure and it's the same.

11 hours ago, comment said:

I am not in a position to test this, but you might try making your code HTML5 compliant:


<html><body style='background-color: #EEEEEE';>HELLO</body></html>

 

 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.