Javascript – Click here to make default homepage.

Here is the code to make your site as default hompage. 

<html>
<body>
<a href=”#” mce_href=”#” onClick=”this.style.behavior=’url(#default#homepage)’;this.setHomePage(‘https://codeproject.wordpress.com&#8217;);”>Click here to make Rana’s blog  your default homepage</a>

</body>
</html>

Note : Make sure when you copy the text and pasted on your source code window, replace ”  with ” and single comma with ‘

Should look like below image.
Make a rana blog as default home page

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s