1/************************************************************ 2 * Confirm Modal Plugin V1.0 3 * https://github.com/klutche/confirm_modal 4 * Released under the MIT license 5 ************************************************************/ 6 7$(function(){ 8 var modal = $(".ninsho");//ã¢ã¼ãã«ã¦ã¤ã³ãã¦ã®ã¯ã©ã¹ 9 var opacity = 0.5;//ã¢ã¼ãã«èæ¯ã®éæåº¦ 10 var button = $(".close_ninsho");//ã¢ã¼ãã«è§£é¤ãã¿ã³ã®ã¯ã©ã¹ 11 var limit = 120;//Cookieã®æå¹æé(å) 12 var cookie = $.cookie("modalNinsho"); 13 14 if(cookie !== "off"){ 15 var overlay = $("<div></div>"); 16 overlay.css({ 17 "position":"fixed", 18 "z-index":1500, 19 "top":0, 20 "left":0, 21 "height":100+"%", 22 "width":100+"%", 23 "background":"#FFFFFF", 24 "opacity":opacity 25 }); 26 $("body").append(overlay); 27 modal.css("display", "block") ; 28 } 29 button.click(function(){ 30 $(overlay).fadeOut("slow"); 31 $(modal).hide(); 32 var clearTime = new Date(); 33 clearTime.setTime(clearTime.getTime()+(limit*60*1000)); 34 $.cookie("modalNinsho", "off", {expires:clearTime, path:"/", secure:"", samesite:"lax"}); 35 }); 36 $(".remove_cookie").click(function(){ 37 $.removeCookie("modalNinsho", {expires:-1, path:"/"}); 38 location.reload(); 39 }); 40});
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.