I\'m trying to block a script file from loading on user defined websites. To block a script file I\'m using beforeload event and event.preventDefault();>
Unfortunately there isn't. There is a bug report opened about lack of synchronous message passing, maybe if enough people star it they will do something about it.