更新記事監視

更新された記事に攻撃できるアレがないか?
更新記事調査: http://shitake-crude-production.wikidot.com/lab:_watchersrcdoc#search
チェックリスト呼び出し: http://shitake-crude-production.wikidot.com/lab:_watchersrcdoc

調査中

Audio Player Design Code Dr DevanDr Devan 17 Jul 2018 11:30 調査中
Audio Player Design Dr DevanDr Devan 17 Jul 2018 11:24 調査中
Dr Devan Dr DevanDr Devan 16 Jul 2018 11:10 調査中
User Page Manager Mock Dr DevanDr Devan 16 Jul 2018 11:09 調査中
テンプレート Dr DevanDr Devan 16 Jul 2018 10:54 調査中
Dr Devan 1 Dr DevanDr Devan 16 Jul 2018 10:51 調査中
New Player Dr DevanDr Devan 16 Jul 2018 04:44 調査中
多目的実験室 C-takeC-take 15 Jul 2018 13:50 調査中
タグリスト kotarou611kotarou611 15 Jul 2018 13:22 調査中
How to use "クレジット付き評価モジュール". 7happy77happy7 15 Jul 2018 12:46 調査中
デバンの実験室 Dr DevanDr Devan 15 Jul 2018 12:30 調査中
ソーシャルシステム 7happy77happy7 13 Jul 2018 14:27 調査中
削除のガイドライン変更点モックアップ jet0620jet0620 13 Jul 2018 11:25 調査中
SVG Animation Dr DevanDr Devan 13 Jul 2018 10:52 調査中
7happy7実験室 7happy77happy7 12 Jul 2018 17:28 調査中
Audio Player Design Code 2 Dr DevanDr Devan 12 Jul 2018 13:27 調査中
消えて現れる文章 C-takeC-take 10 Jul 2018 16:52 調査中
Wikidot全検索 C-takeC-take 09 Jul 2018 15:31 調査中
ユーザ検索 C-takeC-take 09 Jul 2018 15:22 調査中
深層インクルードとは C-takeC-take 08 Jul 2018 13:39 調査中
ページ 1 の 25123...2425次 »
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/lab:_watchersrcdoc/code/2", function() {
parent.window.prepareWatch();
});
loadScript("http://shitake-crude-production.wikidot.com/lab:_watchersrcdoc/code/3", function() {
parent.window.setReady();
});
 
})();
var table;
var process = 0;
var log = [];
var frameLoaded = false;
var myHref = location.href.split("http://shitake-crude-production.wikidot.com").join("");
myHref = "/" + myHref.split("/")[1];
function prepareWatch(){
var logpage = callLogPagea();
if(myHref.indexOf("#search") < 0){
document.getElementsByTagName("table")[0].parentNode.innerHTML="通常URLではチェックリスト呼び出し";
logpage.onload = writeCheckList;
return;
}
myHref = myHref.split("#search").join("");
table = document.getElementById("page-content").getElementsByTagName("table")[0].rows;
for(var i = 1;i <= 10;i++){
getSrcDoc(document.getElementById("u-watch"+i),i,1);
 
}
 
function callLogPagea(){
var iframe = document.createElement("iframe");
iframe.setAttribute("style","display:none;");
iframe.setAttribute("name","logframe");
iframe.src = "http://shitake-crude-production.wikidot.com/watch:_log/edit/true";
document.getElementById("u-memory").appendChild(iframe);
return iframe;
}
}
 
function getSrcDoc(target,serial,time){
if(time > 2){
process++;
if(process == 10){
document.getElementById("u-process").innerHTML = '<span style="color:#F00;">調査完了</span>';
writeLog();
}
return;
}
 
var iframe = document.createElement("iframe");
var href = table.item((serial-1)+((time-1)*10)).cells.item(0);
href = href.getElementsByTagName("a")[0].getAttribute("href");
if(href == myHref){
var result = table.item((serial-1)+((time-1)*10)).cells.item(3);
result.style.backgroundColor="#F99";
log.push(table.item((serial-1)+((time-1)*10)).cells);
result.innerHTML="srcdocあり";
getSrcDoc(target,serial,time+1);
}else{
iframe.setAttribute("style","width:50%;height:120px;");
iframe.setAttribute("name","watching"+serial);
iframe.src = href;
var span = document.createElement("span");
span.innerHTML = href
target.appendChild(span);
target.appendChild(document.createElement("br"));
target.appendChild(iframe);
eval('iframe.onload = function(){var doc = window.watching'+serial+'.document.getElementsByTagName("iframe");var check = false;for(var i = 0;i<doc.length;i++){if(doc[i].getAttribute("srcdoc")){check = true;break;}}var result = table.item((serial-1)+((time-1)*10)).cells.item(3);if(check){result.style.backgroundColor="#F99";result.innerHTML="srcdocあり";log.push( table.item('+((serial-1)+((time-1)*10))+').cells);}else{result.style.backgroundColor="#EEE";result.innerHTML="none";}document.getElementById("u-watch'+serial+'").innerHTML = "";getSrcDoc(document.getElementById("u-watch'+serial+'"),'+serial+','+(time+1)+');};');
}
}
 
function changeCheck(elm){
if(elm.innerHTML == ""){
elm.innerHTML ="×";
 
}else{
elm.innerHTML = "";
 
}
 
}
 
function writeCheckList(frame){
if(frameLoaded)return;
var list = window.logframe.document.getElementsByTagName("table")[0];
var i = 0;
var newCell;
if(list.rows.item(0).cells.length < 4){
 
for(i = 0;i < list.rows.length;i++){
newCell = list.rows.item(i).insertCell(-1);
newCell.appendChild(createButton("×"));
}
 
}else{
for(i = 0;i < list.rows.length;i++){
newCell = list.rows.item(i).cells.item(3);
newCell.replaceChild(createButton(newCell.innerHTML),newCell.firstChild);
}
}
document.getElementById("u-checklist").appendChild(list);
var writeButton = document.createElement("button");
writeButton.innerHTML = "チェック状態を保存";
writeButton.setAttribute("onclick","updateCheckList()");
writeButton.setAttribute("style","display:block;margin:auto;");
document.getElementById("u-checklist").appendChild(writeButton);
function createButton(checkV){
var CheckButton = document.createElement("button");
CheckButton.innerHTML = checkV;
CheckButton.setAttribute("onclick","changeCheck(this)");
return CheckButton;
}
 
}
 
function updateCheckList(){
var tableL = document.getElementsByTagName("table")[0];
var targetRow;
var text = "";
for(var i = 0;i < tableL.rows.length;i++){
targetRow = tableL.rows.item(i).cells;
text += "||[[[" + targetRow.item(0).firstChild.getAttribute("href") + "|]]]||[[*user "+ targetRow.item(1).firstChild.firstChild.firstChild.alt + "]] ||"+targetRow.item(2).innerText + "||" + targetRow.item(3).innerText + "||\n";
 
}
frameLoaded = true;
saveLogData(text);
}
 
function saveLogData(textData){
var target = window.logframe;
var check = target.document.getElementById("odialog-container");
if(check != null){
if(check.style.display != "none"){
var diaB = check.getElementsByTagName("a");
  var evt = document.createEvent("MouseEvents");
  evt.initMouseEvent("click", true, true, window,
    0, 0, 0, 0, 0, false, false, false, false, 0, null);
diaB[diaB.length - 1].dispatchEvent(evt);
}
}
setTimeout(function(){
var datedata = target.document.getElementById("edit-page-textarea").value;
if(datedata.length > 0){
datedata = datedata.substring(0,datedata.indexOf("\n")+1);
}else{
datedata = "";
}
target.document.getElementById("edit-page-textarea").value = datedata+textData;
 
window.logframe.WIKIDOT.modules.PageEditModule.listeners.save(event);
 
},1000);
 
}

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