Is there a way to execute some javascript on load a web site.
For example I want to hide facebook chat and I want to execute
document.getElementById(‘pagelet_chat_home’).style.display = “none” on loading a site.
Is there a way to execute some javascript on load a web site. For
Share
You could wrap the needed actions into a greasmonkey script – Chrome supports greasemonkey user scripts out of the box and converts them into a plugins automatically.
Save the following as
script.user.jsand open it with Chrome. Chrome should detect it as a plugin and install it. Didn’t check if it actually works but there shouldn’t be any problems.