Update that for Access denied, failed on firefox 21.0,
below codes says: TypeError: netscape.security.PrivilegeManager is
undefined
=====
<html>
<body>
<script type="text/javascript">
try{
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
}
catch(err){
document.write(err);
}
</script>
</body>
</html>
====
Inside ajaxterm/src/main/resources/org/kohsuke/ajaxterm.js:
function mozilla_clipboard() {
// mozilla sucks
try {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
} catch (err) {
debug('Access denied, <a href="
http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard"
target="_blank">more info</a>');
return undefined;
}
Meanwhile, I have use AllowClipboardHelper to allow my jenkins test server
http://localhost:8080, any idea?
2013/5/27 Joey Jiao <[email protected]>
> Hi,
> Launching remote terminal shows me the attached picture.
>
> 1. For Access denied, I have follow the more info to enable copy/paste in
> user.js
> 2. And follow Users must have the "Interactive Terminal - Access"
> permission to be able to use this feature.
>
> Still has the picture showed issue, any idea?
>
> --
> -Joey Jiao
>
--
-Joey Jiao
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.