I've this page and in my background page I'm blocking a url which defines stationName
variable.
As explained in
Insert code into the page context using a content script I'm able to inject stationName
variable( using first technique) but unfortunately it gets injected too late, after execution of all downloaded javascript code from website which don't find stationName
variable.
How to define this variable before the javascript execution of page starts?