Created
December 22, 2014 15:44
-
-
Save Halleck45/e13380bf03c83a24b827 to your computer and use it in GitHub Desktop.
pick Jenkins monitor table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe id="frame-monitor" style="display:none; " src="http://jenkins.xxxx.fr/view/Administration/job/Administration%20-%20Monitoring/2/sitemonitor/"></iframe> | |
<div id="div-monitor"></div> | |
<script type="text/javascript"> | |
var iframe = document.getElementById('frame-monitor'); | |
iframe.onload = function() { | |
var innerDoc = (iframe.contentDocument) ? iframe.contentDocument : iframe.contentWindow.document; | |
var table = innerDoc.getElementById('files'); | |
var container = document.getElementById('div-monitor'); | |
container.appendChild (table); | |
iframe.parentNode.removeChild( iframe ); | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment