Notscripts – Noscript Alternative in Chrome

Posted by rajivvishwa On November - 2 - 2010

NotScripts gives you a high degree of “NoScript” like control over what javascript, iframes, and plugins runs in your browser to increase security and lower the CPU usage. It is useful to help mitigate some attacks like certain cross-site scripting (XSS) vulnerabilities and drive by downloads by blocking the third-party content before it even runs with it’s default deny policy.

Notscripts Window

You can whitelist the sites you want through an easy to use url bar icon and drop down menu.

NotScripts uses a unique and novel method to provide this “NoScript” like functionality in Google Chrome that was not previously possible. It introduces a break through technique of intelligent HTML5 storage caching to over come the limitations in Google Chrome that prevented an extension like this from being made before. NotScripts blocks third-party content BEFORE they load and it does this while also having a whitelist. This is one of the key extensions that many people have been waiting for since Google Chrome came out.

Read the rest of this entry »

Add Syntax Highlighting to SharePoint Sites

Posted by rajivvishwa On April - 9 - 2010

This post details about the steps to add Syntax Highlighting Feature to any SharePoint site where you have access to upload files to server. This can help people who embed code snippets in the SharePoint site and share it with their team.

Syntax Highlight Screenshot


Step 1

Download and extract SyntaxHighlighter scripts to your PC (Check the download link at the bottom of the post). Now access the SharePoint site and create a folder structure as shown in the below screenshot (i.e. to create ‘scripts’, ‘src’ and ‘styles’ folders inside syntax folder which is present in ‘Shared Documents’). Now upload the syntax highlighter files to appropriate folders.

Upload Scripts Folder Structure

Upload Scripts Folder Structure

Read the rest of this entry »

HTML Purifier – Malicious Input Filtering (XSS Protection)

Posted by rajivvishwa On January - 27 - 2010

HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will remove all malicious code (efficient filtering of XSS scripts) with a thoroughly audited, secure yet permissive whitelist.

HTML Comparison Chart

HTML Comparison Chart

Quick Install

1
2
3
4
5
6
<?php
    require_once '/path/to/htmlpurifier/library/HTMLPurifier.auto.php';
 
    $purifier = new HTMLPurifier();
    $clean_html = $purifier->purify($dirty_html);
?>

View Before-After XSS Filtering

View Demo: HTML Purifier

Download HTML Purfier : Download (More Info at: http://htmlpurifier.org/)


SecFox – HTTP Header Analysis + Domain Details

Posted by rajivvishwa On May - 17 - 2009
This entry is part 1 of 5 in the series Secfox

In the previous post, Secfox Part 1, we had seen how to customize the environment in FireFox to get better ease of use and more workspace. Now its time to fill in the addons.

This post has two sections, the first explains how to obtain details of any website (Information Gathering) and the second deals with analysis and understanding of HTTP raw header information.

Read the rest of this entry »

This post talks about utilizing faviconize tab extension with other greasemonkey scripts and addons to effectively reduce the cluttering due to too many tabs in your firefox. Free yourselves from the tabs panic.

Note : You need to install Faviconize Tab before you proceed with following the below mentioned addons.

If you have faviconize tabs installed and know about it, then skip to Faviconize All Tabs Section

Faviconize Tabs

Faviconize Tab is a wonderful addon which can be helpful for the users who browse heavily with firefox. This addon provides an option to reduce the size of the tab to the favicon of the site reducing clutter.

Before Faviconize

Before Faviconize

After Faviconize

After Faviconize

Download page for Faviconize Tab : Download

Faviconize All Tabs

I love using Faviconize Tabs and was thinking why is this not a default firefox feature and why in the world would I need to see ‘Site Name – Some Crap Text‘ (Like ‘Gmail – Inbox(3123) – xxx@gmail.com‘) in the tab title to know that its gmail’s tab, if I can simply understand that it is the tab for gmail from the favicon displayed in the tab.

So we can faviconize each tab and keep it simple. But the prob is, every time I have to faviconize any tab, I need to right click and select faviconize and I have to repeat for all the tabs… Is it so? Not really..

Go to Faviconize Preferences and in the Auto Faviconize, put ‘*’ as wildcard. Now every tab you open will be faviconized :)

autofaviconize

Gmail FavIcon Alerts 3

But now you might ask me that the long title in the tab, Gmail – Inbox (No of Unread Messages), is very useful. Atleast you can get to know if you get a new mail, which is not possible with a faviconized tab. But there is an useful greasemonkey script which displays unread count in the tab and also the incoming chat indication in the tab…

Unread Messages

Gmail Unread

No Unread Message

Gmail Read

Incoming Chat

Gmail Chat

Download Page : Download

GReader FavIcon Alerts

So what about Google Reader? Fortunately we have something for that too…

Unread Message Count

Greader Unread

Unread Message greater than 1K

Greader Over 1k

Download Page : Download

NOTE: You need GreaseMonkey installed to setup the above to scripts

Tree tabs

So you dont like the tabs on the top or do you think that you need to know from whether you opened this page (Parent page)? Then treetabs is there for you…  Its self explanatory, check the screenshot.

TreeTabs

Download page : Download

Faviconize tabs +(Gmail +Greader) Favicon Alerts +Tree Tabs =  Ultimate Clutter Reduction in Firefox…

Highlight Feeds By Setting Rules With Google Reader Filter

Posted by rajivvishwa On April - 7 - 2009

To classify the feeds subscribed at Google reader, based on certain rules, Google Reader Filter can be used. Its a simple GreaseMonkey script for Firefox, which means we don’t need to install any addons to activate it. Once this script is installed we can specify the conditions based on which the highlight/exclusion is applied.

Refresh Google Reader and click on filter settings button on the right top and enter your rules in plain text. For specifying advanced rules, few of the RegEx chars can be used.

Filter Settings

* Here Trial|Shareware|Demo|Adware in the Excludes section implies that any one of the keyword match from the four specified will exclude (greys out) that post

Read the rest of this entry »

AppKeys – Suite of Simple Utilites With AHK

Posted by rajivvishwa On February - 23 - 2009

AppKeys is a suit of applications built based on AHK scripting language which can be invoked by using various keyboard shortcuts. The shortcuts can be modified by editing the ahk scripts. Running this ahk file will consume very less amount of memory and can run each command almost instantaneously. This suite of apps replaces dozens of applications which needs to be installed otherwise to do the same operations.

Read the rest of this entry »

Subscribe RSS
Follow me on TwitterTechnoratiYoutube VidsLinkedIn ProfileDelicious