summaryrefslogtreecommitdiff
path: root/gecko/viablehook.js
blob: 1573d236e48e8bcee4c9dd94e456d7c14bfceb94 (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);