Select a conversation and try the script (download it through the console):
var autoLoad = {
messagesContainer: document.querySelector('#contentArea [role=main] .uiScrollableAreaContent'),
start: function (speed) {
var messagesContainer = this.messagesContainer,
loadMore = document.querySelector('[role=log] .pam.uiBoxLightblue.uiMorePagerPrimary');
speed = parseInt(speed, 10) || 1000;
clearInterval(this.interval);
this.interval = setInterval(function () {
messagesContainer.style.top = '0px';
loadMore.click();
}, speed);
},
stop: function () {
clearInterval(this.interval);
this.messagesContainer.style.top = '';
}
};
, :
autoLoad.start(1200);
(, ):
autoLoad.stop();
:
Facebook DOM , , :
, bottom top, .
, , top: '0', AJAX , , . , click , AJAX.
/, , , , , Facebook iids/classes - .
Firefox Chrome, . , , , DOM .
user4698813