改用 Simple JavaScript Toggle 切換 Google Chrome 的 JavaScript

在前一篇「用 JavaScript Switcher 快速啟用 JavaScript...」被小光光 kcwu 指出來我測錯了,JavaScript Switcher 在重開瀏覽器後並不會將設定清掉 (會保留到下次)。

我再找了 Web Store 上了好幾個不同的 extension 測了好幾次,這次在「Simple JavaScript Toggle」這個套件測了好幾次,確認有清掉。另外我也確認原始碼的部份有這段:

// Clear previous contentSettings made by the extension
function init() {
    patternStates = {};
    chrome.contentSettings['javascript'].clear({
        'scope': 'regular'
    });
}

這樣應該是 okay 了,再找機會請小光光吃飯 Q_Q

This entry was posted in Browser, Computer, GoogleChrome, Murmuring, Network, Security, Software, WWW and tagged , , , , , , , , , , , , , . Bookmark the permalink.

2 Responses to 改用 Simple JavaScript Toggle 切換 Google Chrome 的 JavaScript

  1. Pingback: 用 JavaScript Switcher 快速啟用 JavaScript... | Gea-Suan Lin's BLOG

  2. Pingback: 把 JavaScript 關閉一個月後的其他感想 | Gea-Suan Lin's BLOG

Leave a Reply

Your email address will not be published. Required fields are marked *