कानूनी समस्याओं के कारण मुझे एक परियोजना की कई टिप्पणियों के साथ कई मुद्दों को हटाना पड़ा है।
- सभी टिप्पणियों
- मुद्दे का पाठ ("यही समस्या हटा दिया है और ब्लॉक किया गया था")
- का संपादन मुद्दा
कॉपी पेस्ट को अवरुद्ध करने हटाया जा रहा है: मैं इस प्रकार किया ब्राउज़र पता बार पर:
javascript:(function(){ $('.delete-button.octicon.octicon-x.js-comment-delete').each(function(){ href=$(this).attr("href"); if(href!==undefined) { console.log("DELETING: "+href); $.ajax({type:"DELETE",url:href}); } }); firstCommentToedit=$('form.js-comment-update')[0]; $.ajax({ type:"POST", url:firstCommentToedit.action, data:{ _method:$(firstCommentToedit).find('input[name=_method]').val(), "issue[body]":"THIS ISSUE WAS DELETED AND BLOCKED", authenticity_token:$(firstCommentToedit).find('input[name=authenticity_token]').val() } }); lockLink=$('a[href$="/lock"]')[0]; if (lockLink!==undefined) { $.ajax({ type:"POST", url:lockLink.href, data:{_method:$(lockLink).attr("data-method")} }); } setTimeout(function(){window.location=window.location;},3000) })()
विस्तारित:
javascript: (function() {
$('.delete-button.octicon.octicon-x.js-comment-delete').each(function() {
href = $(this).attr("href");
if (href !== undefined) {
console.log("DELETING: " + href);
$.ajax({
type: "DELETE",
url: href
});
}
});
firstCommentToedit = $('form.js-comment-update')[0];
$.ajax({
type: "POST",
url: firstCommentToedit.action,
data: {
_method: $(firstCommentToedit).find('input[name=_method]').val(),
"issue[body]": "THIS ISSUE WAS DELETED AND BLOCKED",
authenticity_token: $(firstCommentToedit).find('input[name=authenticity_token]').val()
}
});
lockLink = $('a[href$="/lock"]')[0];
if (lockLink !== undefined) {
$.ajax({
type: "POST",
url: lockLink.href,
data: {
_method: $(lockLink).attr("data-method")
}
});
}
setTimeout(function() {
window.location = window.location;
}, 3000)
})()
किसी भी कारण है कि आप नहीं है बस उन्हें बंद करना चाहते हैं? – Cairnarvon
मुझे लगता है कि वह उन्हें हटाना चाहता है ताकि वह उन्हें फिर से दर्ज कर सके ताकि वे जुड़े हुए हों। और जहां तक मैं कह सकता हूं, आप जो कुछ भी कर सकते हैं वह मुद्दों को बंद कर देता है। मुझे वास्तव में हटाने के लिए कोई रास्ता नहीं मिल रहा है-उन्हें हटा दें। –
मैं ऐसा कर सकता था लेकिन फिर यह कहता है कि मेरे पास 200 बंद समस्याएं हैं जब वास्तव में केवल 100 है और यह सभी गैरकानूनी खिताब के साथ आपदा की तरह दिखता है ... –