Blog


DISQUS embed js API

DISQUS Javascript embed 3rd party commenting system


Script in action




HTML5 Sticky Note

HTML5 application you can use to create sticky notes in your browser Firefox – click here to get this extension


Click on top browser toolbar icon of add-on to open sidebar and add your notes with just one click

– Is light extension and easy to use
– Make quick notes in browser sidebar
– Save notes using HTML5 local storage
– Organize: drag and drop your notes to rearrange them on the virtual board




Custom JavaScript alert

Overwrites the default window.alert method with API html5 notification





Network Information Web API

Web JavaScript APIs that you can use in WebKit WebView Android for your applications web oriented

See this example to get network type and max download



var getconnection = window.navigator.connection, connectiontype = getconnection.type;
var maxdownload = getconnection.downlinkMax
var logConnectionType = function(){
alert('Connection type: ' + connectiontype + 'Max Download: ' + maxdownload);
}
logConnectionType();
navigator.connection.addEventListener('change', logConnectionType);


Demo jsfiddle: https://jsfiddle.net/15wy4pa6/




Find Element in DOM

Find Elements in DOM using prototype object property in pure javascript


See this demo