Hacker News new | past | comments | ask | show | jobs | submit login

This is a great link directly to the source code (`Quirks.cpp`). Here's a fun little snippet from near the top:

  #if PLATFORM(IOS_FAMILY)
  static inline bool isYahooMail(Document& document)
  {
      auto host = document.topDocument().url().host();
      return host.startsWith("mail."_s) && topPrivatelyControlledDomain(host.toString()).startsWith("yahoo."_s);
  }
  #endif



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: