Skip to content

Instantly share code, notes, and snippets.

@AdamGerthel
Created March 11, 2014 08:42
Show Gist options
  • Save AdamGerthel/9481764 to your computer and use it in GitHub Desktop.
Save AdamGerthel/9481764 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