Add Google Talk Chatback Badges in Blogger and Stay Connected with Readers
June 24th, 2011 by Youzhny
Add Google Talk Chatback Badges in Blogger and Stay Connected with your Blog Readers. A Google Talk chatback badge will let visitors to your web page chat with you. They’ll be able to chat with you whenever you’re signed in to Google Talk as yourgmailid@gmail.com.
A Google Talk chatback badge allows others to chat with you even if they haven’t signed up for Google Talk on their Google...Javascript To Remove All Facebook Apps From Your Account
June 24th, 2011 by Youzhny
This is a guest post by Gaganpreet Arora AKA bitgeek.
My Facebook app list was cluttered with useless apps accumulated over the time I had joined Facebook. The worst thing is that Facebook does not allow you to remove multiple apps in one go. You have to select one, confirm on “Are you sure?” first and then click on “Okay” when it is deleted. Very cumbersome. So I wrote a Javascript hack to...The Location Object
November 14th, 2010 by aBisona
Location Object
The location object contains information about the current URL.
The location object is part of the window object and is accessed through the window.location property.
Note: There is no public standard that applies to the location object, but all major browsers support it.
Location Object Properties
Property
Description
hash
Returns the anchor portion of a URL
host
Returns the hostname...The History Object
November 14th, 2010 by aBisona
History Object
The history object contains the URLs visited by the user (within a browser window).
The history object is part of the window object and is accessed through the window.history property.
Note: There is no public standard that applies to the history object, but all major browsers support it.
History Object Properties
Property
Description
length
Returns the number of URLs in the history...The Screen Object
November 14th, 2010 by aBisona
Screen Object
The screen object contains information about the visitor’s screen.
Note: There is no public standard that applies to the screen object, but all major browsers support it.
Screen Object Properties
Property
Description
availHeight
Returns the height of the screen (excluding the Windows Taskbar)
availWidth
Returns the width of the screen (excluding the Windows Taskbar)
colorDepth
Returns...The Navigator Object
November 14th, 2010 by aBisona
Navigator Object
The navigator object contains information about the browser.
Note: There is no public standard that applies to the navigator object, but all major browsers support it.
Navigator Object Properties
Property
Description
appCodeName
Returns the code name of the browser
appName
Returns the name of the browser
appVersion
Returns the version information of the browser
cookieEnabled
Determines...The Window Object
November 14th, 2010 by aBisona
Window Object
The window object represents an open window in a browser.
If a document contain frames (<frame> or <iframe> tags), the browser creates one window object for the HTML document, and one additional window object for each frame.
Note: There is no public standard that applies to the Window object, but all major browsers support it.
Window Object Properties
Property
Description
closed
Returns...JavaScript Global
November 14th, 2010 by aBisona
The JavaScript global properties and functions can be used with all the built-in JavaScript objects.
JavaScript Global Properties
Property
Description
Infinity
A numeric value that represents positive/negative infinity
NaN
“Not-a-Number” value
undefined
Indicates that a variable has not been assigned a value
JavaScript Global Functions
Function
Description
decodeURI()
Decodes a URI
decodeURIComponent()
Decodes...JavaScript RegExp Object
November 14th, 2010 by aBisona
RegExp Object
A regular expression is an object that describes a pattern of characters.
Regular expressions are used to perform pattern-matching and “search-and-replace” functions on text.
Syntax
var txt=new RegExp(pattern,modifiers);
or more simply:
var txt=/pattern/modifiers;
pattern specifies the pattern of an expression
modifiers specify if a search should be global, case-sensitive,...JavaScript String Object
November 14th, 2010 by aBisona
String Object
The String object is used to manipulate a stored piece of text.
String objects are created with new String().
Syntax
border=”0″
var txt = new String(string);or more simply:
var txt = string;
For a tutorial about the String object, read our JavaScript String Object tutorial.
String Object Properties
Property
Description
constructor
Returns the function that created the...JavaScript Number Object
November 14th, 2010 by aBisona
Number Object
The Number object is an object wrapper for primitive numeric values.
Number objects are created with new Number().
Syntax
var num = new Number(value);
Note: If the value parameter cannot be converted into a number, it returns NaN (Not-a-Number).
Number Object Properties
Property
Description
constructor
Returns the function that created the Number object’s prototype
MAX_VALUE
Returns...JavaScript Math Object
November 14th, 2010 by aBisona
Math Object
The Math object allows you to perform mathematical tasks.
Math is not a constructor. All properties/methods of Math can be called by using Math as an object, without creating it.
Syntax
var x = Math.PI; // Returns PI
var y = Math.sqrt(16); // Returns the square root of 16
For a tutorial about the Math object, read our JavaScript Math Object tutorial.
Math Object Properties
Property
Description
E
Returns...







