Interwiki
function loadScript(src, callback) {
    var done = false;
    var head = parent.document.getElementsByTagName('head')[0];
    var script = document.createElement('script');
    script.src = src;
    head.appendChild(script);
    // Attach handlers for all browsers
    script.onload = script.onreadystatechange = function() {
        if ( !done && (!this.readyState ||
                this.readyState === "loaded" || this.readyState === "complete") ) {
            done = true;
            callback();
        }
    };
}
(function(){
loadScript("http://shitake-crude-production.wikidot.com/interwiki/code/2", function() {
parent.window.searchIframe();
});
})();
function searchIframe(){
var iframes = document.getElementsByTagName("iframe");
var result = "";
var result2 = "";
for(var i = 0;i < iframes.length;i++)
{
var parent = iframes[i].parentNode;
if(parent.getAttribute("id") != "page-content"){
parent = parent.parentNode;
}
var ParentNodeMap = parent.attributes;
result2 += "<b>iframe" + i + "Parent:</b><br />"+parent.tagName + "<br />";
for(var k=0;k < ParentNodeMap.length;k++){
result2 += ParentNodeMap[k].name + ":" +ParentNodeMap[k].value + "<br />";
}
result2 += "<br /><br />";
var nodeMap = iframes[i].attributes ;
result += "<b> Iframe" +i + ":</b> <br />" ;
for(var j = 0;j < nodeMap.length;j++)
{
result += nodeMap[j].name + " : " + nodeMap[j].value + "<br />"
}
result +="<br /><br />";
}
document.getElementById("u-search").innerHTML = result;
document.getElementById("u-search2").innerHTML = result2;

}

特に指定がない限り、このサイトのコンテンツには次のライセンスが適用されます: Creative Commons Attribution-ShareAlike 3.0 License