summaryrefslogtreecommitdiff
path: root/gecko/viablehook.js
blob: 8facf3e3581e5a8ecc81c527ef63e7c1c34d53d5 (plain)
1
2
3
4
5
function srviable() {
	document.getElementById("simplyread-btn").disabled = !simplyread-viable();
}
window.addEventListener("DOMContentLoaded", srviable, false);
gBrowser.tabContainer.addEventListener("TabSelect", srviable, false);