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
**Find all Internal Links**
```javascript
var siteURL = "http://" + top.location.host.toString();
var $internalLinks = $("a[href^='"+siteURL+"'], a[href^='/'], a[href^='./'], a[href^='../'], a[href^='#']");
Konami Code
varkkeys=[],konami="38,38,40,40,37,39,37,39,66,65";$(document).keydown(function(e){kkeys.push(e.keyCode);if(kkeys.toString().indexOf(konami)>=0){$(document).unbind('keydown',arguments.callee);// do something awesome$("body").addClass("konami");}});
##### Telephone Link Protocol
```html
<!-- ----| tel URL scheme: |---- -->
<a href="tel:18008675309">Call me!</a>
<!-- international format: the plus sign (+), the country code, the local area code, and the local number. -->
<a href="tel:+1800229933">Call us free!</a>
<!-- ----| sms URL scheme |---- -->
<a href="sms:18008675309">Text Me!</a>
<!-- ----| Native Apps |---- -->
<a href="facetime://5555555555">Call us free using Facetime!</a>
<a href="skype:skype_user?call">Call us using Skype!</a>
Preventing automatic detection
Prevent browsers from automatically converting phone numbers and email addresses to links.
<metaname="format-detection" content="telephone=no"><!-- For Safari --><metahttp-equiv="x-rim-auto-match" content="none"><!-- For BlackBerry -->
For more information about the tel URL scheme, see RFC 2806 and RFC 2396.
Forms - Spellcheck Attribute
You can use spellcheck on INPUT, TEXTAREA, and contenteditable elements.
<!-- spellcheck everything! --><inputtype="text" spellcheck="true" /><br/><textareaspellcheck="true"></textarea><divcontenteditable="true" spellcheck="true">I am some content</div><!-- spellcheck nothing! --><inputtype="text" spellcheck="false" /><br/><textareaspellcheck="false"></textarea><divcontenteditable="true" spellcheck="false">I am some content</div>
<!-- ----| Generic META Tags |---- --><metaname="twitter:card" content="summary"><metaname="twitter:url" content="http://davidwalsh.name/twitter-cards"><metaname="twitter:title" content="How to Create a Twitter Card"><metaname="twitter:description" content="Twitter's new Twitter Cards API allows developers to add META tags to their website, and Twitter will build card content from links to a given site."><metaname="twitter:image" content="http://davidwalsh.name/demo/openGraphLogo.png"><!-- ----| attribution META tags |---- --><metaname="twitter:site" content="@davidwalshblog"><metaname="twitter:creator" content="@davidwalshblog"><!-- ----| Image and Video META Tags |---- --><metaname="twitter:image:width" content="600"><metaname="twitter:image:height" content="600"><metaname="twitter:player" content="https://davidwalsh.name/video-embed/12345"><metaname="twitter:player:width" content="435"><metaname="twitter:player:height" content="251"><metaname="twitter:player:stream" content="https://davidwalsh.name/raw-stream/12345.mp4"><metaname="twitter:player:stream:content_type" content="video/mp4; codecs="avc1.42E01E1,mpa.40.2"">