131:
162:
provides an HTML prompt that asks for confirmation. The prompt may be customised to a certain extent. If you would like further customisation, you may make a copy of this script (and please add a backlink). With default settings, here is what it looks like:
33:
407:
145:
458:
403:
184:
The following attributes allow you to customise the logout prompt. Note: both the prompt and the buttons are affected by these.
474:
29:
41:
36:
440:"/search/?title=User:Guywan/Scripts/ConfirmLogout.js&action=raw&ctype=text/javascript"
123:
468:
64:
17:
345:
Set these attributes wherever you're importing the script, e.g:
31:
30:
167:
You clicked on a log-out link. Do you want to continue?
321:
298:
271:
243:
207:
141:
122:
104:
96:
78:
70:
60:
52:
47:
413:To use this script, add the following to your
8:
40:
56:Provides a HTML prompt to confirm a logout.
39:
459:m:User:Bluedeck/source/confirm-logout.js
7:
408:User:Guywan/Scripts/ConfirmLogout.js
146:User:Guywan/Scripts/ConfirmLogout.js
402:Hint: It's much easier if you get
24:
410:and click "Install" at the top.
129:
334:Border width, type, and colour.
284:Named colour or hex code, e.g.
186:
158:If you click on a logout link,
1:
491:
419:
347:
475:Knowledge (XXG) scripts
110:; 4 years ago
84:; 4 years ago
279:us_conlog_background
137:All skins supported.
406:, then navigate to
338:"2px solid #BB7070"
108:March 22, 2020
82:March 21, 2020
44:
343:
342:
151:
150:
482:
447:
444:
441:
438:
435:
432:
429:
426:
423:
416:
393:
392:// ConfirmLogout
390:
387:
384:
381:
378:
375:
372:
369:
366:
363:
360:
357:
354:
351:
339:
331:
330:
329:us_conlog_border
327:
324:
316:
308:
307:
304:
301:
293:
287:
281:
280:
277:
274:
266:
259:
258:
255:
252:
249:
246:
238:
232:
228:
223:
222:
219:
216:
213:
210:
187:
175:
172:
136:
133:
132:
118:
116:
111:
92:
90:
85:
45:
37:
490:
489:
485:
484:
483:
481:
480:
479:
465:
464:
454:
449:
448:
445:
442:
439:
436:
433:
430:
427:
424:
421:
414:
404:ScriptInstaller
400:
395:
394:
391:
388:
385:
382:
379:
376:
373:
370:
367:
364:
362:"red"
361:
358:
356:us_conlog_color
355:
352:
349:
337:
328:
325:
322:
314:
306:us_conlog_color
305:
302:
299:
291:
285:
278:
275:
272:
264:
256:
253:
250:
247:
244:
236:
230:
226:
220:
217:
214:
211:
208:
182:
177:
176:
173:
170:
168:
156:
134:
130:
114:
112:
109:
88:
86:
83:
38:
35:
34:
26:
22:
21:
20:
12:
11:
5:
488:
486:
478:
477:
467:
466:
463:
462:
453:
450:
446:// Backlink: ]
420:
399:
396:
348:
341:
340:
335:
332:
318:
317:
312:
311:Same as above.
309:
295:
294:
289:
282:
268:
267:
262:
260:
251:us_conlog_font
240:
239:
234:
224:
215:us_conlog_font
204:
203:
198:
193:
181:
178:
169:
166:
165:
160:Confirm Logout
155:
154:Confirm Logout
152:
149:
148:
143:
139:
138:
127:
120:
119:
106:
102:
101:
98:
94:
93:
80:
79:First released
76:
75:
72:
68:
67:
62:
58:
57:
54:
50:
49:
48:Confirm Logout
32:
28:
23:
15:
14:
13:
10:
9:
6:
4:
3:
2:
487:
476:
473:
472:
470:
460:
457:Remixed from
456:
455:
451:
418:
411:
409:
405:
397:
346:
336:
333:
320:
319:
313:
310:
297:
296:
290:
283:
270:
269:
263:
261:
242:
241:
235:
225:
206:
205:
202:
199:
197:
194:
192:
189:
188:
185:
180:Customisation
179:
164:
161:
153:
147:
144:
140:
128:
126: support
125:
121:
107:
103:
99:
95:
81:
77:
73:
69:
66:
63:
59:
55:
51:
46:
43:
27:
19:
417:(or other):
412:
401:
398:Installation
344:
200:
195:
190:
183:
159:
157:
25:
53:Description
42:User script
18:User:Guywan
286:"honeydew"
115:2020-03-22
89:2020-03-21
434:getScript
415:common.js
380:getScript
292:"#FFDBDB"
191:Attribute
61:Author(s)
469:Category
231:"normal"
201:Defaults
196:Comments
100:22.03.20
452:Credits
174:Log out
113: (
105:Updated
97:Version
87: (
428:loader
374:loader
350:window
323:window
315:"#000"
300:window
273:window
245:window
237:"bold"
227:"bold"
221:weight
209:window
142:Source
71:Status
65:Guywan
265:"86%"
16:<
257:size
124:Skin
74:Beta
386:...
229:or
471::
443:);
422:mw
389:);
368:mw
171:No
461:.
437:(
431:.
425:.
383:(
377:.
371:.
365:;
359:=
353:.
326:.
303:.
288:.
276:.
254:-
248:.
233:.
218:-
212:.
135:Y
117:)
91:)
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.