prototype.js ã® Event.observe ã使ã£ã onbeforeunload ã«ã¤ã㦠2007-07-20-1: [JavaScript][Firefox] JavaScript ã®ã¤ãã³ãã«ãã¦ã£ã³ãã¦ãéããããç´åã«èµ·ãã onbeforeunload ãããã¾ãã ããã使ãã¨ãä½ãããã®å 容ãå ¥åä¸ã«ãã¼ã¸ã移åããéã«è¦åã®ã¡ãã»ã¼ã¸ãåºããã¨ãã§ãã¾ãã WordPress ã¨ãã§å©ç¨ããã¦ãã¾ãã 使ãæ¹ã¯ç°¡åã§ã以ä¸ã®ããã«ãã¤ã¢ãã°ã«è¡¨ç¤ºããä»»æã®ã¡ãã»ã¼ã¸ãè¿ãã¾ãã window.onbeforeunload = function(e) { // ãªã«ãè¿ããªããã°ããªã«ãèµ·ããªãã return '<ä»»æã®ã¡ãã»ã¼ã¸>'; }; ãã¤ã¢ãã°ã®è¡¨ç¤ºã¯ä»¥ä¸ã®ããã«ãªãã¾ãã - Internet Explorer 6.0 - Internet E
{{#tags}}- {{label}}
{{/tags}}