home made content script implementation for Chrome (Firefox to be added)