Skip to content

Instantly share code, notes, and snippets.

@tswicegood
Created December 15, 2009 20:28
Show Gist options
  • Save tswicegood/257272 to your computer and use it in GitHub Desktop.
Save tswicegood/257272 to your computer and use it in GitHub Desktop.
jetpack.future.import("pageMods");
var become_a_hater = function(doc) {
var fan_button = $('.fan_action_frame .UIButton_Text', doc);
fan_button.html(fan_button.html().replace('Fan', 'Hater'));
};
var options = {};
options.matches = ["http://www.facebook.com/*"];
jetpack.pageMods.add(become_a_hater, options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment