With all the sophisticated JS Frameworks and Libraries in use these days, your plan would fail in every except the most basic use cases.
Disabling a function you are not completely aware of what it does, will have strange consequences. This gets even harder because many functions return values when they are completed. So subsequent code may break or not execute correctly.
You simply cannot tell if the JS Code is flexible enough to handle an interrupted function or what consequences are connected with this intervention.
In your special facebook use case it may be enough to simply disable XHR-Requests. I noticed that the "pull"-request is connected with newsfeed refresh. You could write a GreaseMonkey script that overwrites the native XHR object a while after initiation:
setTimeout( function() {
XMLHttpRequest = function(){}
XMLHttpRequest.prototype = {
open: function(){},
send: function(){}
}
}, 5000);