Advertisement
Ansolley

Plugin - Like2Hooah

Jun 28th, 2019
1,818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.60 KB | None | 0 0
  1. /**
  2. * Like2Hooah:
  3. *   -   replace the 'Like' button with 'Hooah' buttons
  4.  
  5. * @author The_HydroX
  6. * @version 1.1
  7. * @url https://1337-server.eu
  8. */
  9.  
  10. BBLog.handle("add.plugin", {
  11.   id : "like2hooah",
  12.   name : "Like2Hooah",
  13.   init : function(instance){
  14.     instance.custom_the_hydrox_like2hooah(instance);
  15.   },
  16.   domchange : function(instance){
  17.     instance.custom_the_hydrox_like2hooah(instance);
  18.   },
  19.   custom_the_hydrox_like2hooah : function(instance){
  20.     if($('.hooah').length != 0){
  21.       $('.hooah').parent('a').html($('.hooah').parent('a').html().replace('Like','Hooah'));
  22.     }
  23.   },
  24. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement