Skip to content

Commit 9d58240

Browse files
committed
Fix WhatsApp Web outgoing messages
1 parent 569be62 commit 9d58240

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v0.46.56.8 - Monday, April 17, 2017
1+
v0.46.56.9 - Monday, April 17, 2017
22
- 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
33
- Improve Facebook compatibility: main timeline titles, overlayed photos, and chat emojis
44
- Improve WhatsApp Web compatibility: emojis and message indicators

js/dp.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,19 @@ function addCloak(sfw, f, fsize, u, bg, text, table, link, bold, o1, o2, collaps
7171
magic += " .ytp-gradient-top, .ytp-gradient-bottom { display: none !important; } "; // improve embedded youtube display
7272
magic += " .ytp-chrome-top, .ytp-title, .ytp-title *, .ytp-chrome-bottom[style], .ytp-chrome-bottom * { background-color: transparent !important; } "; // improve embedded youtube display
7373
magic += " .ytp-play-button:not(.ytp-play-button-playlist)::before, .ytp-fullscreen-button::after { display: none !important; } "; // improve embedded youtube display
74+
magic += " .like-button-renderer-like-button:before, .like-button-renderer-dislike-button:before, .yt-high-contrast-mode-white .yt-uix-button-subscribe-branded:before { content: '' !important; } ";
7475
}
7576
else if (curlocation.match(/^https?:\/\/www\.instagram\.com\//i)) {
7677
magic += " ._ovg3g, ._njmhc { position: initial !important; } ._sppa1 { display: none !important; } ";
7778
}
78-
else if (curlocation.match(/^https?:\/\/www\.youtube\.com\//i)) {
79-
magic += " .like-button-renderer-like-button:before, .like-button-renderer-dislike-button:before, .yt-high-contrast-mode-white .yt-uix-button-subscribe-branded:before { content: '' !important; } ";
80-
}
8179
else if (curlocation.match(/^https?:\/\/web\.whatsapp\.com\//i)) {
8280
magic += " .message-in { float: none !important; } "; // fix incoming message display
8381
magic += " .msg { clear: both !important; } "; // fix outgoing message display
8482
magic += " .message-meta { position: initial !important; } "; // fix message timestamping
8583
magic += ' .bubble { border: 1px dotted #' + table + ' !important; } '; // distinguish bubbles
8684
magic += ' .drawer-manager, .drawer-manager > .pane { background-color: transparent !important; } '; // fix white screen bug
8785
magic += ' .context.context-out { background: transparent !important; } '; // hide message options green gradient
88-
magic += ' .tail.message-out { display: none !important; } '; // hide message out tail
86+
magic += ' .message-out .tail-container { display: none !important; } '; // hide message out tail
8987
if (sfw == 'SFW' || sfw == 'SFW1' || sfw == 'SFW2') {
9088
magic += ' .intro-image { opacity: '+o1+' !important; } .intro-image:hover { opacity: '+o2+' !important; } '; // add cloak support for welcome graphic
9189
magic += ' .icon { opacity: '+o1+' !important; } .icon:hover { opacity: '+o2+' !important; } '; // add cloak support for welcome graphic

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
},
2828
"permissions": [ "http://*/*", "https://*/*", "contextMenus", "tabs" ],
2929
"update_url": "http://clients2.google.com/service/update2/crx",
30-
"version": "0.46.56.8"
30+
"version": "0.46.56.9"
3131
}

updated.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<body id="updatepage">
88
<span id="title">Decreased Productivity</span> by Andrew Y.<br /><br />
99
<div id="main">
10-
<h1>Updated to v0.46.56.8! (Thursday, April 13, 2017)</h1>
10+
<h1>Updated to v0.46.56.9! (Thursday, April 13, 2017)</h1>
1111
<ul>
12-
<li>v0.46.56.8:<ul>
12+
<li>v0.46.56.9:<ul>
1313
<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>
1414
<li>Improve Facebook compatibility: main timeline titles, overlayed photos, and chat emojis</li>
1515
<li>Improve WhatsApp Web compatibility: emojis and message indicators</li>

0 commit comments

Comments
 (0)