joelshepherd / tabliss

A beautiful, customisable New Tab page for Firefox, Chrome, and Edge.
https://tabliss.io
GNU General Public License v3.0
2.15k stars 281 forks source link

Link thumbnails not working #619

Open Sbrjt opened 1 year ago

Sbrjt commented 1 year ago

The link thumbnails for https://chat.openai.com and https://web.whatsapp.com are not working (display as ▶)

Screenshot (72)

Is it the case with everyone?

theerfan commented 11 months ago

Quick question, @Sbrjt, how did you add the other urls with their proper thumbnail?

Sbrjt commented 11 months ago

In icons, there's a website icon option. @theerfan

See

theerfan commented 11 months ago

Yeah, weirdly enough that never works for me.

Sbrjt commented 11 months ago

@theerfan Does it work after importing my settings?

tabliss.json (Please change file name to tabliss.json as github didn't allow me to upload json)

theerfan commented 11 months ago

Yeah it did, thank you so much!

KayeAye commented 8 months ago

Just had the same problem. Tabliss uses duckduckgo's icon service to retrieve the icons and it appears duckduckgo's copy of the icon is corrupted. I managed a workaround by using css that directly grabs the icon, this does undermine the point of using duckduckgo to grab the icons anonymously though. Here's the CSS for the scispace one (typeset.io). "Alt" was found by inspecting element (it's just the url). The padding is the same as the font size you see for that quick link's .widget div (I believe this is what is controlled by the 'size' slider in the display settings).

img[alt="typeset.io"] {
    font-size:0;
    padding: 18px 18px 0 0;
    background: url('https://scispace.com/static/favicon.svg');
    background-size:cover;
}

Edit: The problem with chatgpt (your issue) is actually that duckduckgo still has the default icon in place for the chat.openai.com subdomain. You can use https://icons.duckduckgo.com/ip3/openai.com.ico as the background image url and still avoid directly grabbing the icon from openai

Sbrjt commented 4 months ago

Yeah. duckduckgo's favicon grabber is not working for links with subdomains: https://icons.duckduckgo.com/ip3/https://chat.openai.com

Google's utility is working tho: https://www.google.com/s2/favicons?sz=32&domain_url=https://chat.openai.com.

(in Display.tsx)

@joelshepherd