You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's often needed to know which is the current page, is the user logged in or not, or has the user a premium account.
I suggest a feature detection routine to avoid scattering of detection code around the extension modules. The feature detection will enumerate all needed information and adds classes to the page's element:
It's often needed to know which is the current page, is the user logged in or not, or has the user a premium account.
I suggest a feature detection routine to avoid scattering of detection code around the extension modules. The feature detection will enumerate all needed information and adds classes to the page's element:
The legendary Modernizr library does it in a similar way so it seems to be a good practice.
The text was updated successfully, but these errors were encountered: