You may have already heard about Firefox NoScript extension, you may have even tested it.

Well you may also know that what it does is to blog scripts from executing in your browser.

Well, now we have also the option to install something similar in Google Chrome, but this time it is called Notscript.


According to its site:

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

Go to the NotScript site and install it on your Google Chrome browser.

Now we need to configure it, the most important part is to set the password.

According to its configuration page, the password is needed for:

A NotScripts password is required to be set for the initial use on a computer or if NotScripts was updated. The password is used to protect your privacy by preventing web sites from viewing the NotScripts whitelist caches. Due to technical limitations, you are required to open a file to set the password.

And to set the password all you need is to edit the file /home/ggarron/.config/google-chrome/Default/Extensions/odjhifogjcknibkahlpidmdajjpkkcfn/0.9.6_0/CHANGE__PASSWORD__HERE.js

vim /home/ggarron/.config/google-chrome/Default/Extensions/odjhifogjcknibkahlpidmdajjpkkcfn/0.9.6_0/CHANGE__PASSWORD__HERE.js

_Be sure to change the 0.9.6 folder for the version you are running.

Then you will see something like this:

Choose a password for NotScripts with the following restrictions:

Length: 20 minimum, 100 maximum
Allowed Characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_1234567890
Spaces: Allowed

Put your password in between the quotes of the line below that contains the word "ENCRYPTION_PASSWORD".

Save the file and close it when finished. Then, restart Google Chrome.
You will see an error message in NotScripts if there is something wrong with the password.
Also, make a backup copy of this file because when NotScripts updates, Google Chrome will overwrite this file.
If you change to a different password, make sure that you clear your browser HTML5 storage by clearing the cookies.


So, add your password, a strong one, and save the file, then restart Chrome and you are done.

[img_assist nid=1024 title=notscript desc= link=none align=center width=500 height=538]