function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jvolkovjvolkov 

PREVENT ANNOYING POPUP: Do You Want To Display the Nonsecure Items?

Installed a Twitter Search Widget app that does a search on twitter then displays the results directly inside the Salesforce.com page.  For IE 7.0 users, this is triggering the "Do You Want To Display the Nonsecure Items?" popup.

 

We do not want to disable the popup as it has its uses for other websites but do not want it to be triggered by this Twitter Search Widget?   Is there code we can add to the visualforce page or component that can prevent this?

 

-Thanks

Best Answer chosen by Admin (Salesforce Developers) 
Richie DRichie D

Alternatively you can grab all the javascript files, images etc... and create a static resource file that you reference in the widget. Had the same trouble for yahoo yui and google components. Couldn't access them just by changing http references to https so had to reference files within SF.

  

R.

All Answers

SuperfellSuperfell
You will need to change the widget to use https.
bob_buzzardbob_buzzard

I would imagine your twitter search widget is generating references to images that are served via regular http.  As the visualforce page is served via https, Internet Explorer correctly views this as mixed content and takes the appropriate action based on the security settings, which is to prompt the user.

 

So you need to either change the security settings or ensure that the twitter search widget generates only secure content.

Richie DRichie D

Alternatively you can grab all the javascript files, images etc... and create a static resource file that you reference in the widget. Had the same trouble for yahoo yui and google components. Couldn't access them just by changing http references to https so had to reference files within SF.

  

R.

This was selected as the best answer
jvolkovjvolkov

Richie D,

 

Which JavaScript do I need to grab, those that are referenced in the visualforce components and pages?

 

-Thanks

Richie DRichie D

You'd need to get everything referenced in the visualforce components, pages and in the javascript files themselves.