inherit
156742
0
Oct 29, 2021 20:56:41 GMT -8
planettv
44
July 2010
planettv
|
Post by planettv on Dec 22, 2015 17:04:47 GMT -8
Link to forum: planettv1.proboards.com/I'm having trouble getting the code in this thread to work: support.proboards.com/thread/511330/close-editor-warningI went looking for something like that some time ago when I accidentally closed the tab I was typing in but ever since then I have not been able to get it to work. I even tried it with my forum theme set to the default proboards theme and it didn't work. This was with Chrome 47. I also just tried IE 11 but it didn't work with that browser either as well as Firefox 42 which I tried a few days ago.
|
|
Former Member
inherit
guest@proboards.com
165779
0
Nov 24, 2024 11:41:22 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 24, 2015 13:32:06 GMT -8
Link to forum: planettv1.proboards.com/I'm having trouble getting the code in this thread to work: support.proboards.com/thread/511330/close-editor-warningI went looking for something like that some time ago when I accidentally closed the tab I was typing in but ever since then I have not been able to get it to work. I even tried it with my forum theme set to the default proboards theme and it didn't work. This was with Chrome 47. I also just tried IE 11 but it didn't work with that browser either as well as Firefox 42 which I tried a few days ago. Hi planettv That code was created by Brian he may be able to help you get it working on your forum as im unable to replicate it either. Brian should be back with us in a couple of days Dave
|
|
inherit
209486
0
Mar 6, 2016 15:03:59 GMT -8
T.C.
2,614
May 2014
tacochuck
|
Post by T.C. on Dec 24, 2015 14:10:23 GMT -8
If you use Chrome there's a nifty extension that works well. chrome.google.com/webstore/detail/jscript-tricks/odialddippdmebbfbflcneemfdglimod?hl=enOnce you add the extension you'll see a white scroll in the upper right. Click that and add this as the script source. Placing the asterisk in the applied to box will require a response for any page you close on your forum. There's a logout confirmation plugin but this one allows you to require a logout confirmation on 1 or as many sites as you wish. function PopIt() { return "Are you sure you want to leave?"; } function UnPopIt() { /* nothing to return */ } $(document).ready(function() { window.onbeforeunload = PopIt; $("a").click(function(){ window.onbeforeunload = UnPopIt; }); });
|
|
inherit
156742
0
Oct 29, 2021 20:56:41 GMT -8
planettv
44
July 2010
planettv
|
Post by planettv on Dec 27, 2015 4:47:29 GMT -8
Hi planettv That code was created by Brian he may be able to help you get it working on your forum as im unable to replicate it either. Brian should be back with us in a couple of days Dave Thanks for the reply. If you use Chrome there's a nifty extension that works well. chrome.google.com/webstore/detail/jscript-tricks/odialddippdmebbfbflcneemfdglimod?hl=enOnce you add the extension you'll see a white scroll in the upper right. Click that and add this as the script source. Placing the asterisk in the applied to box will require a response for any page you close on your forum. There's a logout confirmation plugin but this one allows you to require a logout confirmation on 1 or as many sites as you wish. function PopIt() { return "Are you sure you want to leave?"; } function UnPopIt() { /* nothing to return */ } $(document).ready(function() { window.onbeforeunload = PopIt; $("a").click(function(){ window.onbeforeunload = UnPopIt; }); }); Thanks for the suggestion. I will keep it in mind as a last resort.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Dec 27, 2015 10:03:24 GMT -8
|
|
inherit
156742
0
Oct 29, 2021 20:56:41 GMT -8
planettv
44
July 2010
planettv
|
Post by planettv on Dec 27, 2015 21:21:15 GMT -8
Thanks for the help and I'm glad it's working now.
|
|