Skip to main content

Blank page in widget when using $sleek.open() or $sleek.showPopup()

Seeing a blank page when trying to open the Sleekplan widget? This is a known browser behavior, most commonly triggered in Firefox. This article walks you through what's causing it and how to get things working again

What's going on❓

Firefox has a built-in security restriction that requires certain JavaScript methods ,like $sleek.open() and $sleek.showPopup() , to be triggered by a direct user action (like a click). If you call these methods directly through the browser console, Firefox may block them and show a blank page inside the widget.

How to fix it βœ…

  1. Call the methods via an onclick event

Instead of running the method from the console, attach it to a button click. For example, add an onclick event to a button element on your page that calls $sleek.open() or $sleek.showPopup(). This satisfies Firefox's requirement for a user-initiated action.

<button onclick="$sleek.open()">Open Feedback</button>

2. Switch to a different browser

If you need to call the methods via the console, try using Chrome or Safari instead. These browsers don't apply the same restrictions as Firefox, so the widget should open without any issues.

3. Check the browser console for errors

If the blank page persists after trying the steps above, open your browser's developer console (usually F12) and look for any error messages. These can help pinpoint whether something else is going on beyond the Firefox restriction.

Still stuck? If none of the above steps resolve the issue, feel free to reach out to the Sleekplan support team with any error messages you've found.

Did this answer your question?