• Robert Knight's avatar
    Add a mechansim to allow the browser extension to pass config info to the app · 336db8c8
    Robert Knight authored
    Provide a way for the browser extension to pass config info to the app,
    by running a content script which injects a <meta> tag into the page
    with this form:
    
      <meta name="hypothesis-config" content="<JSON data>">
    
    This configuration info is then merged with the result of the
    hypothesisConfig() function, with the hypothesisConfig() function taking
    priority.
    336db8c8
settings.js 946 Bytes