Simplify getting injected script parameters.