Accessible Only Via JavaScript
Restricting Knowledge Base Access through JavaScript Embeds
Table of Contents
What “Accessible Only Via JavaScript” Means Enabling the Feature Is Enabling the Feature Enough? Best PracticesWhen you want your Helpjuice Knowledge Base to be used only within your own application or site, the “Accessible Only Via JavaScript” setting provides that control. Enabling this ensures that the KB isn’t accessible directly via your Helpjuice subdomain.
In this article, you’ll learn:
- What “Accessible Only Via JavaScript” means
- How to enable it
- What happens when it’s enabled
What “Accessible Only Via JavaScript” Means
- Your KB becomes inaccessible outside your system - only embedded or loaded via JavaScript in your authorized environment will work.
- Direct visits to the Helpjuice subdomain (e.g. yoursubdomain.helpjuice.com) will result in a 404 error.
- Any user or viewer must access the KB via your embedded JavaScript method (e.g., inside your app/site) when this setting is on.
Enabling the Feature
- Click on your Profile Picture > Settings
- Access the Accessibility & Privacy section
- Enable the Accessible only via Javascript option
Is Enabling the Feature Enough?
No. You also need to adjust the embed code we provide and add it to your system. For detailed instructions on how to get the embed code, see How To Install Helpjuice.
Best Practices
- Embed the KB only in environments/apps where you can control authentication or user context.
- Regularly test both the embedded JavaScript access and attempt direct access to confirm the setting is working properly.