mirror of
				https://github.com/chylex/Userscripts.git
				synced 2025-10-31 12:17:15 +01:00 
			
		
		
		
	Compare commits
	
		
			5 Commits
		
	
	
		
			b0cb624873
			...
			fa104cf684
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| fa104cf684 | |||
| 8e20444d16 | |||
| ba272bbe4a | |||
| 98aed91112 | |||
| 2b6bad9b2b | 
							
								
								
									
										56
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										56
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,13 +1,19 @@ | ||||
| ## How to Install | ||||
| If you don't already have a userscript manager installed in your browser, I would recommend one of these: | ||||
| ## Userscripts | ||||
| This repository contains my userscripts and userstyles (custom scripts and styles) for various websites. Most of them are licensed under [MPL-2.0](LICENSE.txt), but you can see the license and additional authors of each individual script or style in the metadata comment at the top of the file. | ||||
|  | ||||
| ## How to Install | ||||
| If you don't already have a userscript or userstyle manager installed in your browser, I would recommend one of these: | ||||
|  | ||||
| * **Userscript managers** | ||||
|   * [Violentmonkey](https://violentmonkey.github.io/get-it/) (**Firefox 57+**, **Chrome**) | ||||
|   * [Tampermonkey](https://tampermonkey.net/) (**Edge**, **Opera**, **Safari**) | ||||
|   * [Greasemonkey 3](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/?page=1#version-3.17) (**Firefox 56 or older**, make sure to prevent it from updating) | ||||
| * **Userstyle managers** | ||||
|   * [Stylus](https://github.com/openstyles/stylus) | ||||
|  | ||||
| Pick whichever scripts you want from the list below, and click the link to install them. The userscript manager will automatically update all installed scripts, however since these scripts are quite simple and updates may change how they work, each of them has an alternative link that will never update. | ||||
| Pick whichever scripts or styles you want from the list below, and click the link to install them. The userscript or userstyle manager will automatically update all installed scripts, however since these scripts and styles are quite simple and updates may change how they work, each of them has an alternative link that will never update. | ||||
|  | ||||
| If you want to [report an issue](https://github.com/chylex/Userscripts/issues/new) (bug report or feature request) for one of the scripts, please make sure you're using the most recent version of that script, and search for [existing issues](https://github.com/chylex/Userscripts/issues) in case it's already been reported. | ||||
| Before you [report an issue](https://github.com/chylex/Userscripts/issues/new) (bug report or feature request), please make sure you're using the most recent version of that script or style, and search for [existing issues](https://github.com/chylex/Userscripts/issues) in case it's already been reported. | ||||
|  | ||||
| ## Summary | ||||
|  | ||||
| @@ -16,6 +22,7 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="1">(General)</th> | ||||
|             <td width="325px"><a href="#stop-fucking-with-my-mouse--keyboard">Stop Fucking With My Mouse & Keyboard</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -24,6 +31,7 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="1">Discord</th> | ||||
|             <td width="325px"><a href="#discord-history-tracker">Discord History Tracker</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -32,6 +40,7 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="1">OpenEye</th> | ||||
|             <td width="325px"><a href="#load--filter-openeye-crashes">Load & Filter OpenEye Crashes</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -40,6 +49,7 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="1">Reddit</th> | ||||
|             <td width="325px"><a href="#wholesome-reddit">Wholesome Reddit</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -48,6 +58,7 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="1">Twitch</th> | ||||
|             <td width="325px"><a href="#transparent-twitch-chat">Transparent Twitch Chat</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -56,18 +67,36 @@ If you want to [report an issue](https://github.com/chylex/Userscripts/issues/ne | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="5">YouTube</th> | ||||
|             <td width="325px"><a href="#activity-check-removal">Activity Check Removal</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td><a href="#block-youtube-playlists">Block YouTube Playlists</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td><a href="#fix-youtube-fullscreen-text-selection">Fix YouTube Fullscreen Text Selection</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td><a href="#hide-youtube-seek-bar--duration">Hide YouTube Seek Bar & Duration</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td><a href="#theater-fullscreen--transparent-chat">Theater Fullscreen + Transparent Chat</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| <table> | ||||
|     <tbody> | ||||
|         <tr> | ||||
|             <th width="110px" rowspan="2">Wikipedia</th> | ||||
|             <td width="325px"><a href="#old-design">Old Design</a></td> | ||||
|             <td>Script</td> | ||||
|         </tr> | ||||
|         <tr> | ||||
|             <td width="325px"><a href="#show-all-languages">Show All Languages</a></td> | ||||
|             <td>Style</td> | ||||
|         </tr> | ||||
|     </tbody> | ||||
| </table> | ||||
| @@ -166,3 +195,22 @@ In theater mode, it expands video to full screen, makes chat transparent and ove | ||||
| \[ [Source code](https://github.com/chylex/Userscripts/blob/master/YouTube/TheaterFullscreenTransparentChat.user.js) \] | ||||
|  | ||||
| <img src="https://repo.chylex.com/transparent-youtube-chat.png?" width="400"> | ||||
|  | ||||
| --- | ||||
| ### Wikipedia | ||||
|  | ||||
| #### Old Design | ||||
| Reverts to the old Vector design.   | ||||
| \[ [Automatically updated](https://github.com/chylex/Userscripts/raw/master/Wikipedia/OldDesign.user.js) \] | ||||
| \- | ||||
| \[ [Manually updated](https://github.com/chylex/Userscripts/raw/2b6bad9b2ba7a25c99e5f5b705de61e3661e89ef/Wikipedia/OldDesign.user.js) \] | ||||
| \- | ||||
| \[ [Source code](https://github.com/chylex/Userscripts/blob/master/Wikipedia/OldDesign.user.js) \] | ||||
|  | ||||
| #### Show All Languages | ||||
| Shows all languages in the sidebar instead of collapsing them into a drop-down.   | ||||
| \[ [Automatically updated](https://github.com/chylex/Userscripts/raw/master/Wikipedia/ShowAllLanguages.user.css) \] | ||||
| \- | ||||
| \[ [Manually updated](https://github.com/chylex/Userscripts/raw/8e20444d16c3214f8bf9d0f72c5df9ccd9d29e6a/Wikipedia/ShowAllLanguages.user.css) \] | ||||
| \- | ||||
| \[ [Source code](https://github.com/chylex/Userscripts/blob/master/Wikipedia/ShowAllLanguages.user.css) \] | ||||
|   | ||||
							
								
								
									
										33
									
								
								Wikipedia/OldDesign.user.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								Wikipedia/OldDesign.user.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| // ==UserScript== | ||||
| // @name         Old Wikipedia Design | ||||
| // @description  Reverts to the old Vector design. | ||||
| // @author       Vusys, chylex | ||||
| // @version      1 | ||||
| // @license      MIT | ||||
| // @namespace    https://chylex.com | ||||
| // @homepageURL  https://github.com/chylex/Userscripts | ||||
| // @supportURL   https://github.com/chylex/Userscripts/issues | ||||
| // @include      https://*.wikipedia.org/* | ||||
| // @exclude      https://*.wikipedia.org/ | ||||
| // @run-at       document-end | ||||
| // @grant        none | ||||
| // ==/UserScript== | ||||
|  | ||||
| (function() { | ||||
| 	function fixUrl(href) { | ||||
| 		const url = new URL(href); | ||||
| 		url.searchParams.set("useskin", "vector"); | ||||
| 		return url.href; | ||||
| 	} | ||||
| 	 | ||||
| 	if (!window.location.search.includes("useskin=")) { | ||||
| 		location.replace(fixUrl(window.location.href)); | ||||
| 		return; | ||||
| 	} | ||||
| 	 | ||||
| 	for (const a of document.getElementsByTagName("a")) { | ||||
| 		if (a.hostname.includes("wikipedia.org")) { | ||||
| 			a.href = fixUrl(a.href); | ||||
| 		} | ||||
| 	} | ||||
| })(); | ||||
							
								
								
									
										20
									
								
								Wikipedia/ShowAllLanguages.user.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Wikipedia/ShowAllLanguages.user.css
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| /* ==UserStyle== | ||||
| @name         Show All Languages on Wikipedia | ||||
| @description  Shows all languages in the sidebar instead of collapsing them into a drop-down. | ||||
| @version      1 | ||||
| @author       chylex | ||||
| @license      MPL-2.0 | ||||
| @namespace    https://chylex.com | ||||
| @homepageURL  https://github.com/chylex/Userscripts | ||||
| @supportURL   https://github.com/chylex/Userscripts/issues | ||||
| ==/UserStyle== */ | ||||
|  | ||||
| @-moz-document domain("wikipedia.org") { | ||||
|   .mw-interlanguage-selector { | ||||
|     display: none !important; | ||||
|   } | ||||
|    | ||||
|   .interlanguage-link { | ||||
|     display: block !important; | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user