Blogger

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

    Recent items

Login

Friday, 10 January 2014 10:47

Disable browser request "This Website Wants to Run the Following Add-on" on Public SharePoint site

Written by
Rate this item
(0 votes)

You may have encountered a warning similar to the following when browsing web sites with IE or Chrome:

"The Web site wants to run the following add-on: 'Name ActiveX Control' from 'Microsoft Corporation'. If you trust the Web site and the add-on and want to allow it to run, click here..."

The problem occurs only on PC that has Microsoft Lync installed. Infact, the browser needs the rights to execute a Microsoft dll (Name.dll) in order to display the presence icon.

I've also tried to disable the feature from the web application settings but it not resolve the problem.

If your application doesn't need of this feature and you want to disable this warning, you need to override the SharePoint OOB script that request the add-on. These are the steps to fix the problem:

  • Edit the master page
  • immediately under the body tag, add the follow script.

Show/Hidden javascript code

View source
 
 
 
<script>
    function ProcessImn()
    { }
    function ProcessImnMarkers()
    { }
</script>  
 
 
 

That is it.

Read 10205 times Last modified on Tuesday, 12 January 2016 10:29

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.