Skip to main content

Bug Tracker

Side navigation

#13947 closed bug (duplicate)

Opened May 27, 2013 08:10AM UTC

Closed May 27, 2013 05:07PM UTC

clone() function shows a warning in IE8

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

In IE8 a security warning is shown when cloning a HTML including a LINK tag in HEAD with a relative path.

The example below shows the warning (it has to be used inside an HTTPS connection):



<script type="text/javascript" src="/path/to/resources/jquery-1.8.3.js"></script>

<link href="/path/to/resources/resource.css" rel="stylesheet" type="text/css"/>




<a href="#" class="test">Clone HTML</a>


$(".test").click(function() {

var newPage = $("html").clone();





I've tested it with jquery 1.10.0 with same results.

The code works properly in IE9, FF, Chrome and Safari...

Attachments (0)
Change History (1)

Changed May 27, 2013 05:07PM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #6587.Old IE is very picky about content manipulated when it's not connected to a document, and when that document is secure. There doesn't seem to be much we can do about it.