Slightly trivial question, but is there a way of spotting an omega 4 site by looking at the source code?

Comments

fubhy’s picture

Status: Active » Fixed

Here is my check list for determining whether a site runs Omega:

  • Is it Drupal?
  • What do the classes look like? Any BEM going on there? Layout (l-*) prefixes?
  • Any footprint of Omega in the HTML Source? In most cases you can find references to some Core CSS files overridden by Omega.
  • Does a quick search for "omega" the HTML Source give some results?

It's actually pretty easy to spot a site running Omega based on this. Some sites even don't disable the apple touch icons that ship with Omega.

MrPaulDriver’s picture

Thanks Fuhby,

Actually I spotted a pretty easy one near the top of the html source. The touch icons are located in a directory called Omega.

I spent most of yesterday drooling over www.lush.co.uk which has convinced me to bite the bullet and move to Omega 4.

Thanks for the other clues.

fubhy’s picture

Yes, the touch icons... Well, as I said, that's only there if the person who built the site *forgot* to replace them with their own touch icons or to disable them. I really doubt that anyone wants to have the Omega logo as the touch icon for their website... It actually just serves as a placeholder for you to replace it with your own touch icons... Just like the Drupal default favicon. If you don't replace it (and don't disable it either), it serves the default (which is the Omega logo). So I actually consider the existence of those default touch icons in the html source to be a bug with how the site is configured ;). But yeah... It's a very convenient way to identify a Omega-based site.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.