SSブログ

Chrome拡張:JavaScriptを無効化するNotScripts [パソコン一般]

最近ふとFirefox起動してみたら思いのほかレンダリングとか早くてこれはChromeよりいいんじゃないの?なんて思った。

で、よくよく見てみるとFirefoxのときは動かしていたNoScript的なものをChromeには入れてなかった。当時は気にしてなかったが最近はなんかもっさりすることが多いのでこれは入れるべきではないかと思いたち入れてみた。

ただ、導入がお手軽ではない。
手順は以下のとおり


Instructions to Set Password

Setting your NotScripts password is simple once you've done it for the first time. Simply follow these steps:
Step 1: Navigate to the NotScripts Folder

Open the NotScripts Google Chrome extension folder. The location of this folder is shown below. You can go there by directly copying and pasting the appropriate address below into the location bar of a folder:
Windows XP: %userprofile%\Local Settings\Application Data\Google\Chrome\User Data\Default\Extensions\odjhifogjcknibkahlpidmdajjpkkcfn
Windows Vista or 7: %userprofile%\AppData\Local\Google\Chrome\User Data\Default\Extensions\odjhifogjcknibkahlpidmdajjpkkcfn
Mac OS X: ~/Library/Application Support/Google/Chrome/Default/Extensions/odjhifogjcknibkahlpidmdajjpkkcfn
Linux: ~/.config/google-chrome/Default/Extensions/odjhifogjcknibkahlpidmdajjpkkcfn
Note: For Windows users, change YOUR_USER_NAME to the user name to you are logged onto under Windows. If you're using Windows Explorer to navigate to the folder, you might need to set Show hidden files and folders in Tools > Folder Options... > View.

For convenience, it is recommended that you make a shortcut to this folder on your desktop or somewhere handy so that you can quickly reset the NotScripts password after an update.

Step 2: Open the NotScripts Password File

Open the file CHANGE__PASSWORD__HERE.js for editing. For Windows users, do this by right-clicking on the file and selecting Edit from the right-click menu. This will open up the file in NotePad for you to enter your NotScripts password.

Step 3: Set the NotScripts Password

Choose a password for NotScripts with the following restrictions:

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

Put the password in between the quotes of the line that reads:

const ENCRYPTION_PASSWORD = "";

Example: FNqzJmJBA1GQFhuXBmEq20MqEqbn55w3MtT
It should look like this after (except with your own password):

const ENCRYPTION_PASSWORD = "FNqzJmJBA1GQFhuXBmEq20MqEqbn55w3MtT";

Save the file and close it when finished.

Step 4: Restart Google Chrome

Close and restart Google Chrome for the new password to take effect in NotScripts. You are done!


超訳すると

・プラグインフォルダにあるjsファイルを編集してパスワードを設定する
 20文字以上100文字いないの英数字なのだが、20文字というのが意外に多くてひっかかる。
・Chromeを再起動する

動かしてみた感想

・なぜか拡張機能がボタンじゃなくてURLスペースに出るアイコン
 これが最初わからなくてしばらく思考停止した。
・ホワイトリストにGoogleは入っているので最初からGoogleReaderとかは動く。ニコ動は当然動いていないのでnimg.jpとかよくわからないのも動くようにしないと見れない。
・試しに動かしてみたい時はTempを選ぶと良い
 慢性的に動かしたい場合はAllow。慢性的に禁止したい場合(ほとんど初期値)はBlockを選ぶ。

久々にこの手の拡張いれてみたけどJavaScript動いてないと早いなぁと思った。
あとFirefoxのあの速さなら戻ってもいいかなとは思ったが、タブの上の無駄な空間が気になってしょうがなかったのでしばらくはChrome。ツールバーとかの縦のサイズは少ないほうがいい。
nice!(0)  コメント(0)  トラックバック(0) 
共通テーマ:パソコン・インターネット

nice! 0

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

トラックバック 0

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。