@@ -49,7 +49,7 @@ function addCloak(sfw, f, fsize, u, bg, text, table, link, bold, o1, o2, collaps
4949 else magic += ' object, embed, param, video, audio { opacity: ' + o1 + ' !important; } object:hover, embed:hover, param:hover, video:hover, audio:hover { opacity: ' + o2 + ' !important; }' ;
5050 }
5151 if ( sfw == 'SFW1' ) magic += ' object, embed, param, video, audio { display: none !important; opacity: 0 !important; }' ;
52- if ( sfw == 'Paranoid' ) magic += ' iframe, img, canvas, input[type=image], path, polygon, object, embed, param, video, audio, picture { display: none !important; opacity: 0 !important; }' ;
52+ if ( sfw == 'Paranoid' ) magic += ' img, canvas, input[type=image], path, polygon, object, embed, param, video, audio, picture { display: none !important; opacity: 0 !important; } iframe { opacity: 0.05 !important; } iframe:hover { opacity: 0.5 !important; }' ;
5353
5454 magic += ' .dp' + timestamp + '_visible { visibility: visible !important; opacity: 1 !important; }' ;
5555 magic += ' .dp' + timestamp + '_unbold { font-weight: normal !important }' ;
@@ -64,6 +64,13 @@ function addCloak(sfw, f, fsize, u, bg, text, table, link, bold, o1, o2, collaps
6464 magic += " ._2yq ._4-u2::before { background-color: transparent !important; } " ; // fix main timeline post title bars
6565 magic += " ._2-sx { position: absolute !important; top: 0 !important; left: 0 !important; } " ; // fix spotlight photo positioning
6666 magic += " ._4d3w._2nw8 ._4g9v, ._4d3w._2nw8 ._4g9v *, ._4d3w._2nw8 .snowliftOverlayBar, ._4d3w .rightButtons .overlayBarButtons, ._4d3w .rightButtons .overlayBarButtons * { background-color: transparent !important; } " ; // make spotlight top/bottom bars transparent
67+ magic += " ._1ift { pointer-events: initial !important; } " ; // make chat icons react to hover
68+ magic += " ._3htz { display: none !important; } " ; // hide video overlay
69+ }
70+ else if ( curlocation . match ( / ^ h t t p s ? : \/ \/ w w w \. y o u t u b e \. c o m \/ / i) ) {
71+ magic += " .ytp-gradient-top, .ytp-gradient-bottom { display: none !important; } " ; // improve embedded youtube display
72+ magic += " .ytp-chrome-top, .ytp-title, .ytp-title *, .ytp-chrome-bottom[style], .ytp-chrome-bottom * { background-color: transparent !important; } " ; // improve embedded youtube display
73+ magic += " .ytp-play-button:not(.ytp-play-button-playlist)::before, .ytp-fullscreen-button::after { display: none !important; } " ; // improve embedded youtube display
6774 }
6875 else if ( curlocation . match ( / ^ h t t p s ? : \/ \/ w w w \. i n s t a g r a m \. c o m \/ / i) ) {
6976 magic += " ._ovg3g, ._njmhc { position: initial !important; } ._sppa1 { display: none !important; } " ;
@@ -77,8 +84,13 @@ function addCloak(sfw, f, fsize, u, bg, text, table, link, bold, o1, o2, collaps
7784 magic += " .message-meta { position: initial !important; } " ; // fix message timestamping
7885 magic += ' .bubble { border: 1px dotted #' + table + ' !important; } ' ; // distinguish bubbles
7986 magic += ' .drawer-manager, .drawer-manager > .pane { background-color: transparent !important; } ' ; // fix white screen bug
80- magic += ' .intro-image { opacity: ' + o1 + ' !important; } .intro-image:hover { opacity: ' + o2 + ' !important; } ' ; // add cloak support for welcome graphic
81- magic += ' .emoji, .icon { opacity: ' + o2 + ' !important; } ' ; // make emojis and icons at cloak-hover opacity
87+ magic += ' .context.context-out { background: transparent !important; } ' ; // hide message options green gradient
88+ magic += ' .tail.message-out { display: none !important; } ' ; // hide message out tail
89+ if ( sfw == 'SFW' || sfw == 'SFW1' || sfw == 'SFW2' ) {
90+ magic += ' .intro-image { opacity: ' + o1 + ' !important; } .intro-image:hover { opacity: ' + o2 + ' !important; } ' ; // add cloak support for welcome graphic
91+ magic += ' .icon { opacity: ' + o1 + ' !important; } .icon:hover { opacity: ' + o2 + ' !important; } ' ; // add cloak support for welcome graphic
92+ } else if ( sfw == 'Paranoid' ) magic += ' .intro-image { display: none !important; } ' ; // hide welcome graphic
93+ magic += ' .message .message-text .emojitext .emoji { pointer-events: initial !important; } ' ; // make emojis and icons at cloak-hover opacity
8294 }
8395 else if ( curlocation . match ( / ^ h t t p s ? : \/ \/ t w i t t e r \. c o m \/ / i) ) {
8496 magic += " .QuoteTweet, .QuoteTweet *, #playerContainer, #playerContainer *, .Gallery, .Gallery * { background-color: transparent !important; } " ;
@@ -92,6 +104,9 @@ function addCloak(sfw, f, fsize, u, bg, text, table, link, bold, o1, o2, collaps
92104 magic += " .o-hit { cursor: initial !important; } " ;
93105 magic += " .o-hit .o-hit__link { position: initial !important; } " ;
94106 }
107+ else if ( curlocation . match ( / ^ h t t p s ? : \/ \/ .+ \. w i k i a \. c o m \/ / i) ) {
108+ magic += " body.background-dynamic.skin-oasis::after, body.background-dynamic.skin-oasis::before { background-image: none !important; } " ;
109+ }
95110 else if ( curlocation . match ( / ^ h t t p s ? : \/ \/ .* \. ? ( ( l i f e h a c k | g a w k ) e r | d e a d s p i n | j a l o p n i k | g i z m o d o | j e z e b e l | k o t a k u ) \. c o m \/ / i) ) {
96111 magic += " .img-border:after { position: initial !important; } " ;
97112 }
0 commit comments