favicon

Disable Android WebView/WebViewClient Initiated favicon.ico Request

旧街凉风 提交于 2019-12-01 17:29:50
How can I disable the Android WebView/WebViewClient from sending out a request for favicon.ico when I call WebView.loadUrl()? I can see the call being made while profiling requests via CharlesProxy. I do not own the HTML content that I am displaying in the WebView. My research has turned up a lot of results on workarounds from the server side but these won't work for me. ventura8 for me the complete solution was: @Override public WebResourceResponse shouldInterceptRequest(WebView view, String url) { if(url.toLowerCase().contains("/favicon.ico")) { try { return new WebResourceResponse("image

How to make the favicon appear in a new window?

白昼怎懂夜的黑 提交于 2019-12-01 16:44:22
I'm opening a new window into which I'm injecting HTML for both the body and the head. The problem is in the head section: the HTML includes both the title and the favicon but the favicon doesn't show. This is the code and the jsFiddle: https://jsfiddle.net/ufnjspgc/ function Start() { $('#TheButton').click(function() { var TheHeadHTML = '<link href="' + window.location.protocol + '//' + window.location.host + '/favicon.ico" rel="icon" type="image/x-icon">'; TheHeadHTML = TheHeadHTML + '<title>Title Works</title>'; var TheNewWindow = window.open(); $(TheNewWindow.document.head).html

Favicon in subdirectory all subdomain

青春壹個敷衍的年華 提交于 2019-12-01 15:25:00
问题 I am used to just save the favicon.ico in the public_html folder for adding the favicon. The problema I have now is that I want to display the in all the files of a certain subdirectory, ( example.com/example "onwards" ) just putting it there, doesnt seem to do the job. I know I could go document by document and add: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> But I hope there is a more practical way, first I thought there might be a way trough CSS but that doesnt

Favicon Not Showing

旧时模样 提交于 2019-12-01 15:23:24
I have a favicon in my ASP.NET project that's not showing up. I have a masterpage located at ~/MasterPages/MasterPage.master that holds the favicon. My markup is as follows: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/> <link rel="icon" href="/favicon.ico" type="image/x-icon"/> The favicon is located in the project root. The dimensions are 16x16 and it's 32-bit depth. I've cleared my browser's cache, rebooted and nothing is working. Any suggestions as to what I should do? Try placing a ~ and set the link elements to runat=server <link runat="server" rel="shortcut icon"

Disable Android WebView/WebViewClient Initiated favicon.ico Request

我的梦境 提交于 2019-12-01 15:02:18
问题 How can I disable the Android WebView/WebViewClient from sending out a request for favicon.ico when I call WebView.loadUrl()? I can see the call being made while profiling requests via CharlesProxy. I do not own the HTML content that I am displaying in the WebView. My research has turned up a lot of results on workarounds from the server side but these won't work for me. 回答1: for me the complete solution was: @Override public WebResourceResponse shouldInterceptRequest(WebView view, String url

How do you remove tomcat's default favicon?

时光总嘲笑我的痴心妄想 提交于 2019-12-01 15:01:52
Tomcat 6 seems to be providing a default favicon for my webapp - the tomcat logo. I don't have a favicon.ico in my webapp root, nor does my web.xml mention anything about a favicon. I even have a mapping in my web.xml for *.ico that goes to the default servlet, but it is still showing. How can I remove that tomcat favicon? I know I can specify a favicon in several ways to override this default icon. I'm trying to find out how (if possible) to prevent the default favicon that tomcat adds and thus have no favicon. Delete or rename tomcat/webapps/ROOT/favicon.ico and Tomcat will look for a

How do you remove tomcat's default favicon?

北慕城南 提交于 2019-12-01 14:38:30
问题 Tomcat 6 seems to be providing a default favicon for my webapp - the tomcat logo. I don't have a favicon.ico in my webapp root, nor does my web.xml mention anything about a favicon. I even have a mapping in my web.xml for *.ico that goes to the default servlet, but it is still showing. How can I remove that tomcat favicon? I know I can specify a favicon in several ways to override this default icon. I'm trying to find out how (if possible) to prevent the default favicon that tomcat adds and

Favicon Not Showing

只谈情不闲聊 提交于 2019-12-01 14:21:27
问题 I have a favicon in my ASP.NET project that's not showing up. I have a masterpage located at ~/MasterPages/MasterPage.master that holds the favicon. My markup is as follows: <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/> <link rel="icon" href="/favicon.ico" type="image/x-icon"/> The favicon is located in the project root. The dimensions are 16x16 and it's 32-bit depth. I've cleared my browser's cache, rebooted and nothing is working. Any suggestions as to what I should do

Why doesn't my favicon display for my web site?

佐手、 提交于 2019-12-01 13:37:58
I have a website that I've just uploaded onto the Internet. When I browse to the site using Firefox 3.0.1 on Ubuntu I don't see the favicon; Firefox 3.0.1 on WinXP does display it. Why isn't the favicon displaying under Ubuntu? It's a favicon.ico file in the root directory, not referenced in the meta tags; would it work better as a GIF? Previously, there was no favicon. The browser cached the lack of favicon. Clear the Firefox cache , and all is well. GateKiller Try taking a look at this previous Question , which shows you must put two meta tags in your html in order for it to work across all

Why doesn't my favicon display for my web site?

一曲冷凌霜 提交于 2019-12-01 10:56:52
问题 I have a website that I've just uploaded onto the Internet. When I browse to the site using Firefox 3.0.1 on Ubuntu I don't see the favicon; Firefox 3.0.1 on WinXP does display it. Why isn't the favicon displaying under Ubuntu? It's a favicon.ico file in the root directory, not referenced in the meta tags; would it work better as a GIF? 回答1: Previously, there was no favicon. The browser cached the lack of favicon. Clear the Firefox cache, and all is well. 回答2: Try taking a look at this