Posts Tagged ‘Javascript’

jQuery Codes to Fix Facebook Share’s Zero-Count

Thumbnail for post “ jQuery Codes to Fix Facebook Share’s Zero-Count ”

Facebook share count in “box_count” format shrink to 1/4 of its size if total share-count is zero.
This small jQuery code snippets is to fix that “shrinking”.

Read More

JavaScript/jQuery Snippet to check if a function exists

I am working on a very complex wordpress theme from last few weeks and on the way learning many new things. To keep load time of this new theme in check, I am using many ‘if’ statements in header.php to control which javascript library/jquery plugin loads on which page. So before making JavaScript/jQuery function calls, [...]

Read More

WordPress Themes – Standards and Checklists (beta)

This article was originally created (in parts) for rtCampers to guide our trainees and follow the best CSS and design practices. It is by no means complete but hopefully it will evolve over time as we get more mature with WordPress, CSS and web-design in-general. The goal of this article is to create a master [...]

Read More

Feed Sweep: Create widgets for showing feeds on website

Thumbnail for post “ Feed Sweep: Create widgets for showing feeds on website ”

When designing a website or a blog, you might need to show some feeds from another website. This is quite relevant if you have two blogs and want to show feeds from one to the other. Feed Sweep is a website which allows the user to register and create customized widgets for showing feeds from [...]

Read More

Adobe Security Updates on May 12

Thumbnail for post “ Adobe Security Updates on May 12 ”

Last month, Adobe’s Product Security Incident Response Team (PSIRT) announced potential vulnerability in Adobe Reader 9.1 and 8.1.4 and had urged users on all platforms to disable JavaScript. Since then, many have been eagerly awaiting Adobe security patches so that the issue can be fixed. Adobe has set a May 12 date for the delivery [...]

Read More

Disable JavaScript in Adobe PDF Reader!

Thumbnail for post “ Disable JavaScript in Adobe PDF Reader! ”

Adobe Product Security Incident Response Team (PSIRT) has reported a potential Adobe Reader issue. “Adobe is aware of reports of a potential vulnerability in Adobe Reader 9.1 and 8.1.4, as described in SecurityFocus BID 34736. We are currently investigating, and will have an update once we get more information.” Adobe has urged users on all [...]

Read More

Page Navigation Hack for Blogger (Blogspot)

Thumbnail for post “ Page Navigation Hack for Blogger (Blogspot) ”

Most of the people think that page navigation hack is only for who blogs at WordPress. But here is the hack for those who use blogger and want to add page navigation to their blog. This hack will show page number instead of text link older posts, as shown in following screenshot. You can see [...]

Read More

Using Firebug Console to log from GreaseMonkey Scripts

Thumbnail for post “ Using Firebug Console to log from GreaseMonkey Scripts ”

This is for all Greasemonkey developers who also use Firebug. Firebug is one of the best Firefox extension for developers. To start with, almost every Greasemonkey developer uses built-in API method “GM_log()” to log debugging messages to Firefox’s javascript console. While normal javascript developers use Firebug’s API method “console.log()” to log debugging messages to Firebug [...]

Read More

Enable Right-Click On Any Website (Including Orkut)

There are many websites which prefer to disable right-clicking on web-pages specially images. To do this they normally use one of JavaScript ways. The most popular way is to add following code to element tag on which you want to disable right-clicking. oncontextmenu=”return false;” For example, say you have code for an image like below… [...]

Read More

Best Regular Expression Tools for Programmers

If you are a programmer, then you must have encountered regular expressions sometime back in your carrier. If you are good at regular expressions, then hats off to you. Otherwise there are some tools which can make your life easy. There is one online and one offline tool  that I often use for regular expression [...]

Read More