applescript: browser-agnostic