Chromaniac
Well-known member
do update here if this works for you on 2.1. i am seeing some movement around links at the time of rendering. it could be some third party code interfering on my board!
This is actually intentional. The favicon won't show in links that contain images to prevent confusion, and also it doesn't look good in most cases as the image may be bigger than the favicon.ok. so it does work for me. but not on some links. behavior seems to be random. but the links where it fails... they have an emoji in text content. here is an example.
Any way to disable for internal links? Thanks!Did anyone figure out the JavaScript/jQuery necessary in the templaterellect_favicon
to disable it if the link string containswebsite.com
so that internal links don't have the favicon?
I wasn't able to get that to work on my forum, but it pointed me in the right direction where I owe you a cup of Joe
// Remove internal link favicons
a:link.link.link--internal.has-favicon {
background: none !important;
padding: 0px !important;
}
I'm not sure what you mean, but if you want to disable it in specific forums, try adding to your css something likeHello @rellect,
thanks for the addon, suuuper works.
Now we only have the problem that links are also linked in private forums, which "Google" then also notices.
Can you maybe create a way that in forums, marked as private, nothing was linked by this addon?
body[data-container-key="node-15"] .link.has-favicon {
background: none !important;
padding: 0px !important;
}
Resetting the background-image will prevent the call to the google favicon service.this issue does not affect me but still curious. css can hide ui elements but would it stop actual fetching of the favicon? OP does not want Google to find out the URLs of his private forums from where favicons are fetched from Google servers.
The code snippet I provided in one of the previous messages will prevent loading favicons in specific forums.If URLs/IPs are transmitted for DNS resolution, they contain sensitive data, I want to prevent that.
With Google Ads, I prevent this in the Adcode
<xf: if is = "!in_array ($__globals.forum.node_id, [5,1,2,3,4])">
... AdCode here
</ Xf: if>
This is currently not possible with your addon, so my request.
The code snippet I provided in one of the previous messages will prevent loading favicons in specific forums.
We use essential cookies to make this site work, and optional cookies to enhance your experience.