favicon

Adding favicon to javascript Bookmarklet (uses window.open)

时间秒杀一切 提交于 2019-12-02 15:09:15
I have a bookmarklet that launches a window.open javascript function to open a small window with my bookmarklet -- an external feature used to communicate between any visted site and my server. I'd like for a favicon to show up when the bookmarklet is added to the bookmark toolbar. I realize that the bookmarklet is javascript, there is no domain tied to it so it's going to be either difficult or impossible to achieve this goal. My understanding of the problem: Favicons are easy to understand, a link within the head of an HTML doc. The browser can pull this when bookmarking an actual site by

Correct MIME Type for favicon.ico?

让人想犯罪 __ 提交于 2019-12-02 14:59:16
According to the Internet Assigned Numbers Authority (IANA), all .ico file falls under the MIME type image/vnd.microsoft.icon . ( Source ) E.g. <link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico" /> However, savvy internet guru, Paul Irish , claims this is wrong, and that it would actually be image/x-icon . ( Source ) E.g. <link rel="icon" type="image/x-icon" href="favicon.ico" /> I know you can get away with not including a "type" for .ico files, but if you were going to include one, which should it be? Are there actually any problems with serving it as official IANA type?

How to force ie11 to request a new favicon?

非 Y 不嫁゛ 提交于 2019-12-02 03:43:05
问题 I am working on a website which changes its favicon depending on the user details logged in. A controller processes this request at the back-end and sends the appropriate favicon for the site. So far, I avoided the favicon getting cached by most browsers through this: <link rel="shortcut icon" type="image/x-icon" href="resources/favicon.ico?v=${date.time}"/> However, the favicon still gets cached in ie11. No requests were received by the controller when I turned on debug on Netbeans. Things

Why isn't my favicon appearing in IE7/8?

∥☆過路亽.° 提交于 2019-12-02 03:13:38
Page of interest: https://www.gsb-yourbank.com/test/ ICO file: https://www.gsb-yourbank.com/test/favicon.ico My favicon is a 16x16 resolution, 16-color ICO file. It will not appear in IE 7/8 no matter what I do! I've tried everything I can think of, including: generating the ICO with a variety of different utilities, changing the syntax of the favicon link elements in the document head, using absolute, relative, and root-relative URLs in the favicon link elements, using a PNG instead of an ICO file, ensuring that I am uploading the file via FTP in binary mode, As a longtime web developer

Multiple Shortcut Icons?

情到浓时终转凉″ 提交于 2019-12-01 23:35:46
问题 I saw this today and was wondering how it can be achieved? I am searching for another example but in the meantime will drop the question here too. 回答1: The page's <title> start with the Unicode emoji symbol for Briefcase, U+1F4BC: 💼 Confirmed by setting the title on this page: 来源: https://stackoverflow.com/questions/17901486/multiple-shortcut-icons

IE10 Favicon Issue

你。 提交于 2019-12-01 23:19:49
问题 I've googled this issue, read all the threads, done what they have said and still I am having a problem trying to display a simple favicon.ico in IE10! The file size is 16x16 (I have also tried 32x32) and it works perfectly in Chrome, FireFox and Safari so I know I have implemented the code right. This is what I have done so far: 1) Placed the favicon.ico in the root folder 2) added these lines of code: <link rel="shortcut icon" href="http://www.barnhillmarketing.co.uk/favicon.ico" type=

Multiple Shortcut Icons?

只愿长相守 提交于 2019-12-01 21:31:26
I saw this today and was wondering how it can be achieved? I am searching for another example but in the meantime will drop the question here too. The page's <title> start with the Unicode emoji symbol for Briefcase, U+1F4BC : 💼 Confirmed by setting the title on this page: 来源: https://stackoverflow.com/questions/17901486/multiple-shortcut-icons

IE10 Favicon Issue

十年热恋 提交于 2019-12-01 20:55:24
I've googled this issue, read all the threads, done what they have said and still I am having a problem trying to display a simple favicon.ico in IE10! The file size is 16x16 (I have also tried 32x32) and it works perfectly in Chrome, FireFox and Safari so I know I have implemented the code right. This is what I have done so far: 1) Placed the favicon.ico in the root folder 2) added these lines of code: <link rel="shortcut icon" href="http://www.barnhillmarketing.co.uk/favicon.ico" type="image/x- icon"> <link rel="icon" href="/favicon.ico" type="image/x-icon" /> 3) Tried both absolute and

Changing in the top of the browser using HTML (favicon)

ⅰ亾dé卋堺 提交于 2019-12-01 18:01:37
How do you change the small image showed in a browsers tab when viewing image using HTML? Sorry, I am new to programming. The small image is what I am talking about. it's called a favicon : place the favicon.ico file in the www root and use the following code: <link rel="shortcut icon" href="/favicon.ico"> Merry Christmas Dear, here's your solution: Insert the following line in <head> tag <link href="Images/tsp1.png" rel="shortcut icon" type="image/x-icon" /> Replace Images/tsp1.png with a image of your choice, make it somting like a 16x16 image This is the Favicon. Have a look at the

IE doesn't show .ico icons in HTML if not served as “image/x-icon”

走远了吗. 提交于 2019-12-01 17:43:43
I'm showing favicons of websites in a list, as <img /> elements. some websites serve them as: <link rel="icon" type="image/x-icon" href="favicon.ico" /> and some serve them as: <link rel="shortcut icon" href="favicon.ico" /> IE doesn't show the favicons images of those of don't have type="image/x-icon" . I cannot control how websites serves their favicons, so what can I do from my side? I think the best thing to do is convert them to another format. If you are displaying the icons manually then you could download each, convert it with an image program, and upload it to your site. If you're