How To Have No Favicon?

How does one get Xojo Web (Standalone if it matters) to not serve a favicon?

The Problem:

There is nothing in the app resources for an icon (all images/masks/preview fields are cleared), yet Xojo Web is serving a white square. Adding a transparent png is not a workaround - the behavior is different than that of not having a favicon.

Thanks in advance!

What happens if you remove favicon.ico from Resources?

Of course this code will not find the icon:

<link rel="shortcut icon" type="image/x-icon" href="/framework/favicon.ico">

you may need to add a feature request for an option to not have a favicon.

The app doesn’t seem to like this. It pauses the debugger every time I load a page, but not on any code. In theory a 404 with the favicon.ico file should work though… Thanks for the suggestion :slight_smile:

Are there any actual solutions?

Have you tried to remove favicon entirely with JavaScript ?

[quote=480716:@Tim Parnell]The app doesn’t seem to like this. It pauses the debugger every time I load a page, but not on any code. In theory a 404 with the favicon.ico file should work though… Thanks for the suggestion :slight_smile:

Are there any actual solutions?[/quote]
I did a test and the debugger goes crazy if you remove the images.

On the other hand, if you Build the standalone (in my test for Mac), then remove all the ico, png files from resources and start the app, you actually get the ‘no favicon’ representation in Chrome:

Safari, general representation when the page has no icon:

Firefox, no icon at all:

I hope this is what you want.