Test the pre-release of RigiJS
If you are experiencing issues with the Rigi script during preview capturing, the Rigi team can provide you with an updated version of rigi.js. Follow the steps below to test it.
Install the User JavaScript and CSS Chrome extension. This extension can inject custom JavaScript or CSS rules into any page.
You must enable developer mode in Chrome to use this extension. For details, refer to the Chrome documentation.
Disable the Rigi script (if applicable) via the Chrome Manage extensions functionality.
The script can be hosted by the Rigi injector or by the web app. Ensure you disable the correct extension.
Open the application from which you would like to capture HTML previews in the browser.
Click the Extensions icon next to the address bar and click on the User JavaScript and CSS extension. A popup will be displayed.
Click the New rule: button. You will be directed to a new browser tab.
Paste the script provided by the Rigi team in the left-hand side pane and click the Save button in the top right-hand corner of the screen.
Check the script version.
Go back to the tab with the application from which you would like to capture HTML previews.
Open the developer tools.
Click F12 to open the developer tools panel.
In the developer tools panel, navigate to the Console tab.
Type in
RIGI
and click Enter. The Rigi version will be displayed below.Verify that the version matches the version of the script provided by the Rigi team (see step 7 above).
Type in
RIGI_SaveScreenshot("test.html")
and click Enter. This will result in preview capturing.Inspect the preview to check if the previously experienced issue does not appear anymore.