Skip to content

Instantly share code, notes, and snippets.

@robertmagnusson
Created May 8, 2014 13:59
Show Gist options
  • Save robertmagnusson/2afba10cf78a8a61741a to your computer and use it in GitHub Desktop.
Save robertmagnusson/2afba10cf78a8a61741a to your computer and use it in GitHub Desktop.
Useful snippet for theming Drupal ajax throbbers. Execute it in the console and it stops all future ajax requests from working. The throbbers will be displayed but never removed.
XMLHttpRequest = function(){};
XMLHttpRequest.prototype = {
open: function(){},
send: function(){}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment