משתמש:1Or/misdar.js – הבדלי גרסאות
תוכן שנמחק תוכן שנוסף
מ ביטול גרסה 20584054 |
אין תקציר עריכה |
||
שורה 17:
$("#bodyContent").before(" ");
$("#bodyContent").before($("<button style='background-color: #36c; color: white'>").click(function() {document.getElementById("mw-content-text").innerHTML = $("#mw-content-text")["0"].innerHTML.replace(/\d+\. </g, "<"); $(".searchresults").remove(); $("#wdsearch_container").remove();}).append('גרסה להעתקה'));
mw.notify("החיפוש הושלם בהצלחה");▼
$("#firstHeading").after($("<bold>").append($("<div style='color: Red'>").append("שימו לב! ישנן תשובות נוספות. מנגנון המדיה ויקי לא מאפשר החזרת יותר מ-10,000 תוצאות חיפוש. כדאי לשקול לחדד את השאילתה.")));
▲ mw.notify("נמצאו " + $("#mw-content-text")["0"].innerHTML.match(/\d+\. </g).length + " תוצאות");
}else{
▲ mw.notify("החיפוש הושלם בהצלחה");
mw.notify("נמצאו " + $("#mw-content-text")["0"].innerHTML.match(/\d+\. </g).length + " תוצאות");
}
}
}
|