EveryDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ading2210/sandstone/llms.txt
Use this file to discover all available pages before exploring further.
ProxyFrame instance carries two properties that let you control how proxied pages behave: default_settings applies to all pages, and site_settings lets you override those defaults for specific hostnames. Settings are resolved at navigation time, so you can change them between navigations without recreating the frame.
Default settings
frame.default_settings is a plain object that acts as the baseline for every page loaded into the frame. The built-in default is:
allow_js to false:
Per-site overrides
frame.site_settings is an array of objects. Each entry must include a hostname property containing a RegExp, plus any settings you want to override for pages whose hostname matches that pattern.
When Sandstone navigates to a URL it searches site_settings for the first entry whose hostname regex matches frame.url.hostname. That entry is then shallow-merged on top of default_settings to produce the final settings object for the page.
example.com load without JavaScript while all other pages continue to use default_settings (JavaScript enabled by default).
You can stack multiple entries to apply different rules to different domains:
Settings reference
Controls whether inline and external JavaScript is evaluated for the proxied page. When set to
false, Sandstone parses and renders the HTML but skips the script evaluation step entirely. Event handlers declared in HTML attributes and scripts loaded via <script> tags are both suppressed.How settings are resolved
Internally,navigate_to() runs the following logic after fetching the page HTML:
site_settings entry overrides the same key in default_settings, while keys absent from the entry inherit their value from default_settings.