คุณอาจรู้ ผม fan ของ browsers ไม่มี Javascript enabled ตลอด ไม่ใช่เพราะ security แต่ชอบ simple และ quiet แม้ default behavior อาจ crippled Usage debate aside ไม่ได้ preach เรื่อง enable/disable Javascript อยู่ที่นี่เพื่อบอก Notscript: Chrome extension
Notscript inspired by Noscript (Firefox addon) whitelist sites รวม plugins: Javascript, Java, Flash, Silverlight อื่นๆ Noscript รันบน Firefox Notscript designed สำหรับ Chrome setup น้อยน้อย less trivial มาดู setup ให้ proper
Noscript configuration
ไป Google Chrome Extensions site ติดตั้ง Notscript หลังจากนั้น มี steps หลายอย่าง complete ก่อนใช้ได้ proper
Setup password
Tricky part: Chrome ทำงาน Noscript ต้องมี password เพื่อป้องกัน sites จาก viewing whitelisting cache ไม่ต้องถามทำไม แต่เป็น reality No worries เราจะทำ
เปิด Google Chrome Application Data folder ไป Notscript extension sub-directory Instructions บนหน้า Notscript ที่เปิดอัตโนมัติหลังติดตั้ง
ในนั้นเจอไฟล์ CHANGE_PASSWORD_HERE.js เปิดใน text editor (Notepad++) เปลี่ยน const ENCRYPTION_PASSWORD จาก empty string เป็น password อย่างน้อย 20 characters clunky แต่ทำได้ Save file restart Chrome
Notscript running
คล้าย Noscript: icon ใน address bar ขวาสุด คลิก expand toggle website state on/off โหลด script แบบ hierarchy block top domain = block all Changes on the fly temporarily whitelist sites multi-select domains with dependencies
Whitelisting
ขยาย Notscript options manage whitelist manually add/remove sites คล้าย Noscript หาก familiar กับตัวใดตัวหนึ่ง ใช้อีกตัวง่าย
More reading
อ่านเพิ่ม: 10 must-have Firefox extensions, Using Noscript correctly, Manage Firefox add-ons centralized (older article)
สรุป
Notscript handy extension อาจ argue breaks Internet unnecessary Chrome sandbox security mechanism ไม่โต้แย้ง คุณถูก convenience part ของ noscripting thing
Regardless หากหา equivalent Noscript functionality สำหรับ Chrome มีอยู่ Configuration convoluted นิดหน่อย แต่ one-time process manageable หาก extension นี้ sway คุณใช้ Chrome permanently เป็นเรื่องอื่น สิ่งสำคัญ: คุณมี choice of technological flexibility ตัดสินใจจาก taste และ ideology
หวังชอบบทความนี้ See ya around
ขอแสดงความนับถือ