Adds confrmation prompt when presseing Mark All Read on the Unread Posts page on ivelt
// ==UserScript==
// @name Confirm Before Mark All Unread Posts Read
// @version 0.1
// @description Adds confrmation prompt when presseing Mark All Read on the Unread Posts page on ivelt
// @author Huroitze Beilum Shemoi
// @match http://www.ivelt.com/forum/search.php?search_id=unreadposts
// @grant none
// @namespace https://greasyfork.org/users/473330
// ==/UserScript==
(function() {
'use strict';
var $ = window.jQuery;
$('.mark-read').click(function(e){
var r = confirm("ביזטו זיכער אז דו ווילסט פארצייכענען 'אלע תגובות' ווי געליינט?");
if (r == true){$('.mark-read').off('click');$('.mark-read').trigger('click')}else{return false;}})
})();