more twitter style tweaks
This commit is contained in:
		
							parent
							
								
									ca5f731912
								
							
						
					
					
						commit
						f280b6f0f8
					
				
							
								
								
									
										1
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								makefile
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -84,6 +84,7 @@ install: rose
 | 
			
		|||
	mkdir -p /usr/share/themes/rose
 | 
			
		||||
	cp style.css /usr/share/themes/rose/
 | 
			
		||||
	cp rose-mklink /usr/bin
 | 
			
		||||
	sudo cp rose /usr/bin/rose-browser/twitter # custom twitter tweaks
 | 
			
		||||
 | 
			
		||||
uninstall: 
 | 
			
		||||
	rm -r /usr/share/themes/rose
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#include <stdio.h>
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <string.h>
 | 
			
		||||
#define STYLE_N 6073 + 100
 | 
			
		||||
#define STYLE_N 6512 + 100
 | 
			
		||||
 | 
			
		||||
void read_style_js(char* string)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#ifndef STYLE
 | 
			
		||||
#define STYLE
 | 
			
		||||
 | 
			
		||||
#define STYLE_N 6073 + 100
 | 
			
		||||
#define STYLE_N 6512 + 100
 | 
			
		||||
 | 
			
		||||
void read_style_js(char* string);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -78,13 +78,40 @@ if (document.domain == "twitter.com") {
 | 
			
		|||
	[data-testid^="sidebarColumn"] {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Hide DMs v2 */
 | 
			
		||||
	[data-testid^="DMDrawerHeader"] {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Tweak main column */
 | 
			
		||||
	[data-testid^="primaryColumn"] {
 | 
			
		||||
		min-width: 900px;
 | 
			
		||||
		max-width: 900px;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Delete a few unused or annoying elements */
 | 
			
		||||
	[aria-label^="Verified Orgs"] {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
	[aria-label^="Lists"] {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
	[aria-label^="Communities"] {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
	[aria-label^="Primary"] {
 | 
			
		||||
		margin-top: 50px;
 | 
			
		||||
	}
 | 
			
		||||
	[role^="progressbar"]{
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
	.r-1h8ys4a {
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	.r-ymttw5 { 
 | 
			
		||||
		display: none;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* hide video */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user