Opera - (Un)secure pages and local JavaScript problem

On some pages I’m asked “Do you want to allow local JavaScript files to control secure pages…”.
The problem is that the pages aren’t secure, so there’s a delay whilst I click “No” and the page finishes loading. Whilst I appreciate the possible drawbacks to allowing this, it’s a nuisance when the page isn’t secure and doesn’t need a warning.

Any tips on stopping this behaviour, please?

In order to get this alert you need to have enabled User JavaScript on HTTPS.This setting is disabled by default. For what pages does this happen? Do these pages link to other pages that have an https connection; think logins to well known social networking sites.

Do you user a userjs script that is made to handle specific https pages?