Skip to content

Commit 569be62

Browse files
committed
v0.46.56.8
1 parent 83f7efa commit 569be62

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed

changelog.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
v0.46.56.8 - Thursday, April 13, 2017
2-
- Improve Facebook compatibility: show main timeline titles, overlayed photos
3-
- Improve WhatsApp Web compatibility: show emojis and message indicators
4-
- Improve Twitter compatibility: show overlayed photos
1+
v0.46.56.8 - Monday, April 17, 2017
2+
- Tweaked Paranoid Mode - increased usability (e.g. Disqus comment threads now readable) - iframes now visible; cloaked at conservative opacity levels: 5% unhovered / 50% on hover
3+
- Improve Facebook compatibility: main timeline titles, overlayed photos, and chat emojis
4+
- Improve WhatsApp Web compatibility: emojis and message indicators
5+
- Improve Twitter compatibility: overlayed photos
6+
- Improve YouTube compatibility: remove top and bottom bars to increase cloaked video visibility
7+
- Add Wikia compatibility: hide background images
58

69
v0.46.56.7 - Monday, July 25, 2016
710
- Added capability to Import/Export Settings (and even save your settings to a text file)

js/dp.js

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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(/^https?:\/\/www\.youtube\.com\//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(/^https?:\/\/www\.instagram\.com\//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(/^https?:\/\/twitter\.com\//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(/^https?:\/\/.+\.wikia\.com\//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(/^https?:\/\/.*\.?((lifehack|gawk)er|deadspin|jalopnik|gizmodo|jezebel|kotaku)\.com\//i)) {
96111
magic += " .img-border:after { position: initial !important; } ";
97112
}

updated.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
<h1>Updated to v0.46.56.8! (Thursday, April 13, 2017)</h1>
1111
<ul>
1212
<li>v0.46.56.8:<ul>
13-
<li>Improve Facebook compatibility: show main timeline titles, overlayed photos</li>
14-
<li>Improve WhatsApp Web compatibility: show emojis and message indicators</li>
15-
<li>Improve Twitter compatibility: show overlayed photos</li>
13+
<li>Tweaked Paranoid Mode - increased usability (e.g. Disqus comment threads now readable) - iframes now visible; cloaked at conservative opacity levels: 5% unhovered / 50% on hover</li>
14+
<li>Improve Facebook compatibility: main timeline titles, overlayed photos, and chat emojis</li>
15+
<li>Improve WhatsApp Web compatibility: emojis and message indicators</li>
16+
<li>Improve Twitter compatibility: overlayed photos</li>
17+
<li>Improve YouTube compatibility: removed top and bottom bars to increase cloaked video visibility</li>
18+
<li>Add Wikia compatibility: hide background images</li>
1619
<li><strong>if you do not want this page appearing every time DP auto-updates, you can disable them by unticking "Show Update Popup" in the <a href="options.html">Options page</a>.</strong></li>
1720
</ul>
1821
</li>

0 commit comments

Comments
 (0)