Problem Command Bar Button Extension

Hi, I have the following button extension script that works fine on IE6 but fails with a Permission Denied error on IE7. I have tried the usual - Security settings - Allow scriptlets, scripting enabled. Uh! I just realised that it may be the Google Toolbar which I have installed but not loaded. (will try disabling the toolbar with Add-in manager and post back with results.)

Here is the scriptlet. Its purpose is to set the current document as the IE Homepage.

<html>
<A id=dummy HREF="#"
onClick="this.style.behavior='url(#default#homepage)';
this.setHomePage(external.menuArguments.document.location);">
Make the current page your homepage
</A>
<script language="JavaScript">
// Author Eye Can Publishing - www.iecustomizer.com
document.links.item(0).click();
</script>
</HTML>

Regards.




Answer this question

Problem Command Bar Button Extension

  • Chimme

    Disabling the Google toolbar did not help.

  • Jason Swalwell

    Hi,

    Still no solution. I guess that this is a design feature that is intended to prevent homepage hijacking, so I am moving on and closing the thread.

    Regards.



  • swatts777

    I have the exact same problem.

    The permission denied error is thrown for the this.setHomePage() function.

    I have been trying to play around with IE7 security settings, but no luck there either.

    Is this allowed on IE7

    Is there another way to set homepage on user initiated action for IE7 or has this function been totally restricted on IE7


  • Problem Command Bar Button Extension