PageSourceSearch

https://www.les-crises.fr/wp-content/plugins/safe-report-comments/js/ajax.js?ver=l.0.6

js les-crises.fr collected 2026-10-03 22:17:21 UTC 873 bytes, 35 lines download raw bytes

1SafeCommentsAjaxCommenting = {};
2function safe_report_comments_flag_comment( comment_id, nonce, result_id, aTag ) {
3  
4  if(comment_id in SafeCommentsAjaxCommenting) {
5    return; 
6  }
7  if(!confirm("Confirmez vous le signalement de ce commentaire ?")) {
8    return; 
9  }
10  
11  SafeCommentsAjaxCommenting[comment_id] = 1
12  
13  jQuery(aTag).css('opacity',0.5);
14	jQuery.post(
15		SafeCommentsAjax.ajaxurl,
16		{
17			comment_id : comment_id,
18			sc_nonce : nonce,
19			result_id : result_id,
20			action : 'safe_report_comments_flag_comment',
21			xhrFields: {
22				withCredentials: true
23			}
24		},
25		function(data) { jQuery(aTag).css('opacity',1); jQuery( '#'+result_id).html(data);  }
26	).fail(function() {
27	  jQuery( '#'+result_id).html("Erreur désolé");
28	});
29	return false;
30}
31
32jQuery( document ).ready( function() {
33	jQuery( '.hide-if-js' ).hide();
34	jQuery( '.hide-if-no-js' ).show();
35});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.