Coder Social home page Coder Social logo

Comments (5)

jonathanKingston avatar jonathanKingston commented on July 23, 2024

Probably is due to the favicon right? You likely could load them off page to ensure they load without error.

from conex.

kesselborn avatar kesselborn commented on July 23, 2024

yeah ... that's my guess as well -- thanks a lot for the hint though!

from conex.

kesselborn avatar kesselborn commented on July 23, 2024

mmm ... thought that would be simple, but I am kind of stuck on how to do this -- @jonathanKingston do you have a pointer for me on how to do that?
Cheers

from conex.

kaysersoze avatar kaysersoze commented on July 23, 2024

@kesselborn - Taking some cues from this answer on Stack Overflow, https://stackoverflow.com/a/5119097 (just as an illustration on "order of operations"):

  1. Check to see if requested page has Basic Auth (HTTP 401)
  2. If Basic Auth, check top level domain index page, get favicons in order of link above.
  3. If no favicons available, default to some sort of lock favicon

Alternately, you could just display the lock favicon if you get a HTTP 401 from a page.

I'd be happy to help implement this (and/or any other features) if you're interested.

from conex.

kesselborn avatar kesselborn commented on July 23, 2024

@kaysersoze the problem is, that I don't even fetch it via ajax at the moment but just insert it as a img src or css background image ... seems as if I need to change that :/
Thanks for the pointer

from conex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.