New: activate extension only when page is loaded