Wikipedia talk:User scripts

CSS items
@Nardog I mean, that's what User:BrandonXLF/GreenRedirects is. I don't see why it'd be a worse idea than JS, which can actually compromise one's browser. Aaron Liu (talk) 02:54, 21 February 2024 (UTC)


 * It's not. common.css and global.css are loaded automatically for the owners and they can put or remove whatever they want there at any time. If you intend some styles to be imported by other users, you should host it as a separate page. Nardog (talk) 03:01, 21 February 2024 (UTC)
 * Also, importing an external CSS via JS causes FOUCs. Using  doesn't, but can delay first paint. Nardog (talk) 06:12, 21 February 2024 (UTC)
 * Speaking about that... my @import doesn't seem to be working right now :p Aaron Liu  (talk) 16:07, 21 February 2024 (UTC) Fixed that now!  Aaron Liu  (talk) 03:05, 22 February 2024 (UTC)

Highlight username
Hey, do we have a script which can highlight your own username in a page? I remember seeing something similar a while ago but can't find that now. Can sormeone link it please? Thanks. — The Herald (Benison) (talk) 05:35, 25 February 2024 (UTC)
 * @The Herald: Not sure if there's a script, but a userscript wouldn't be super necessary; you could just put this in Special:MyPage/common.css:  Change the username in quotes to change which page gets highlighted, and change the "FFFF00" to any other hex color code to change the color of the highlight.
 * EDIT:After rereading, I think I misunderstood your ask; the above will highlight any links to your user page (as in your signature or any pings to you), but not any mere use of your username. That *would* require a script. Writ Keeper &#9863;&#9812; 13:45, 25 February 2024 (UTC)
 * I think I'll give it a ago. I just want my name to get highlighted, especially in AfD discussions, just to avoid double !votes or avoid WP:INVOLVED when I'm closing discussions. Hope it will work for that. Thanks. The Herald (Benison) (talk) 14:06, 25 February 2024 (UTC)
 * Update: It works just how I wanted. Thanks a lot. The Herald (Benison) (talk) 14:09, 25 February 2024 (UTC)

Navigation arrows in WP:USL
Which tool was used for installing the navigation arrows colored light blue in the top bottom right corner with url params "#top" and "#skip-to-bottom-anchor" ?Qwerty284651 (talk) 05:50, 29 May 2024 (UTC)
 * It's . -- Red rose64 &#x1f339; (talk) 16:39, 29 May 2024 (UTC)
 * @Redrose64, thanks. Qwerty284651 (talk) 16:48, 29 May 2024 (UTC)

Should script-installer add userscript pages to the watchlist?
You are invited to join the discussion at User talk:Enterprisey/script-installer § Should script-installer add userscript pages to the watchlist?. —⁠andrybak (talk) 13:35, 4 June 2024 (UTC)