Last active
January 17, 2017 03:03
-
-
Save nicolas-t/6007522 to your computer and use it in GitHub Desktop.
Block facebook's "read status" notification on chat.
Your contact won't know if you read his message or not.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Facebook read status | |
// @description block facebook's "read status" notification on facebook chat. | |
// @namespace frs | |
// @include http://www.facebook.com/* | |
// @include https://www.facebook.com/* | |
// @grant none | |
// @version 1 | |
// ==/UserScript== | |
(function() { | |
var proxy = window.XMLHttpRequest.prototype.open; | |
window.XMLHttpRequest.prototype.open = function() { | |
if( arguments[1] !== '/ajax/mercury/change_read_status.php') { | |
return proxy.apply(this, [].slice.call(arguments)); | |
} | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment