mirror of
				https://github.com/chylex/Userscripts.git
				synced 2025-10-31 21:17:16 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			fa104cf684
			...
			9dc53e3e1d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9dc53e3e1d | |||
| bd10edeb73 | 
| @@ -203,7 +203,7 @@ In theater mode, it expands video to full screen, makes chat transparent and ove | |||||||
| Reverts to the old Vector design.   | Reverts to the old Vector design.   | ||||||
| \[ [Automatically updated](https://github.com/chylex/Userscripts/raw/master/Wikipedia/OldDesign.user.js) \] | \[ [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) \] | \[ [Manually updated](https://github.com/chylex/Userscripts/raw/bd10edeb73ded1b0af0c4c715ef4399e9db248e8/Wikipedia/OldDesign.user.js) \] | ||||||
| \- | \- | ||||||
| \[ [Source code](https://github.com/chylex/Userscripts/blob/master/Wikipedia/OldDesign.user.js) \] | \[ [Source code](https://github.com/chylex/Userscripts/blob/master/Wikipedia/OldDesign.user.js) \] | ||||||
|  |  | ||||||
|   | |||||||
| @@ -2,14 +2,14 @@ | |||||||
| // @name         Old Wikipedia Design | // @name         Old Wikipedia Design | ||||||
| // @description  Reverts to the old Vector design. | // @description  Reverts to the old Vector design. | ||||||
| // @author       Vusys, chylex | // @author       Vusys, chylex | ||||||
| // @version      1 | // @version      2 | ||||||
| // @license      MIT | // @license      MIT | ||||||
| // @namespace    https://chylex.com | // @namespace    https://chylex.com | ||||||
| // @homepageURL  https://github.com/chylex/Userscripts | // @homepageURL  https://github.com/chylex/Userscripts | ||||||
| // @supportURL   https://github.com/chylex/Userscripts/issues | // @supportURL   https://github.com/chylex/Userscripts/issues | ||||||
| // @include      https://*.wikipedia.org/* | // @include      https://*.wikipedia.org/* | ||||||
| // @exclude      https://*.wikipedia.org/ | // @exclude      https://*.wikipedia.org/ | ||||||
| // @run-at       document-end | // @run-at       document-start | ||||||
| // @grant        none | // @grant        none | ||||||
| // ==/UserScript== | // ==/UserScript== | ||||||
|  |  | ||||||
| @@ -25,9 +25,11 @@ | |||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
| 	for (const a of document.getElementsByTagName("a")) { | 	document.addEventListener("DOMContentLoaded", function() { | ||||||
| 		if (a.hostname.includes("wikipedia.org")) { | 		for (const a of document.getElementsByTagName("a")) { | ||||||
| 			a.href = fixUrl(a.href); | 			if (a.hostname.includes("wikipedia.org")) { | ||||||
|  | 				a.href = fixUrl(a.href); | ||||||
|  | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	}); | ||||||
| })(); | })(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user