User talk:FlightTime/confirm-logout.js: Difference between revisions

Content deleted Content added
No edit summary
Line 53:
:{{re|Guywan}} Thank you, that was one thing I found a little annoying and was going to ask if it could be removed, but I don't want to wear out my welcome. You have a great day. Cheers, - <span style="font-family:Trebuchet MS">[[User:FlightTime|<span style="color:#800000">'''FlightTime'''</span>]] <small>([[User talk:FlightTime|<span style="color:#FFD700">'''open channel'''</span>]])</small></span> 19:39, 22 March 2020 (UTC)
::{{re|Guywan}} Could you show the patch for this and where to place it, I also use this script on Commons. I think it would be better for me to adjust my script here so I can keep my Commons version the same. Thanx again, - <span style="font-family:Trebuchet MS">[[User:FlightTime|<span style="color:#800000">'''FlightTime'''</span>]] <small>([[User talk:FlightTime|<span style="color:#FFD700">'''open channel'''</span>]])</small></span> 20:04, 22 March 2020 (UTC)
 
::: {{ping|FlightTime}} You can import the script globally from meta. Add this to [[mw:User:FlightTime/global.js]]:
<syntaxhighlight lang="js">
us_conlog_background = "#EEE";
us_conlog_border = "2px solid #00F";
mw.loader.load("https://en.wikipedia.org/w/index.php?title=User:Guywan/Scripts/ConfirmLogout.js&action=raw&ctype=text/javascript");
</syntaxhighlight>
::: Then you'll need to remove local imports, I think. Let me know if you'd rather have local versions. <span style="font-family:cursive;color:blue">—[[User:Guywan|guywan]] ([[User talk:Guywan|talk]] • [[Special:Contributions/Guywan|contribs]])</span> 20:21, 22 March 2020 (UTC)