Factor out base url for bookmarklet