Okay, I changed it from
copyUrlWindow.d ocument.head.ap pendChild(copyU rlWindowScript) ;
copyUrlWindow.d ocument.head.ap pendChild(copyU rlWindowCSS);
to
copyUrlWindow.d ocument.body.ap pendChild(copyU rlWindowScript) ;
copyUrlWindow.d ocument.body.ap pendChild(copyU rlWindowCSS);
and it works great in Chrome and Firefox, but still no dice in IE.
User Profile
Collapse
-
Firefox's error console returns two errors each time the button is clicked. Here they are:
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXP ECTED) [nsIPrefBranch.c learUserPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXP ECTED)" location: "JS frame :: chrome://dotnetassistant/content/bootstrap.js :: BootStrapDotNet AsssitantExtens ion :: line 52" data: no]...Leave a comment:
-
Popup not working in Firefox/IE?
After finishing this proof-of-concept, I realized that it only works in Google Chrome, the browser I was using.
I'm not going to try to explain how it works, because it's pretty much noobie scripting.
But basically, in Chrome, it does exactly what it's supposed to and writes copyUrlWindowTe xt, copyUrlWindowEx p, copyUrlWindowCS S and copyUrlWindowSc ript to a new window called copyUrlWindow. But in Firefox and IE, I'm...
No activity results to display
Show More
Leave a comment: