User:StonedChipmunk/usermessagechanger.js

In today's world, User:StonedChipmunk/usermessagechanger.js is a topic that has gained great relevance and has generated a wide debate in society. With the advancement of technology and globalization, User:StonedChipmunk/usermessagechanger.js has become a key element that impacts different aspects of daily life. From politics to economics, through culture and education, User:StonedChipmunk/usermessagechanger.js has managed to transform and shape the way we interact and develop in today's world. This is why it is imperative to understand the importance and implications of User:StonedChipmunk/usermessagechanger.js in our daily lives, as well as analyze possible solutions and alternatives to address it effectively.
 
topaz.usermessagechanger = new Object();

/* configuration */
// this will replace the old message
topaz.usermessagechanger.newmessage = 'You have <a href="/w/index.php?title=User_talk:'+topaz.wputil.username()+'&amp;redirect=no" title="User talk:'+topaz.wputil.username()+'">new spam</a> (<a href="/w/index.php?title=User_talk:'+topaz.wputil.username()+'&amp;diff=cur" title="User talk:'+topaz.wputil.username()+'">last change</a>).';
/* end configuration */

topaz.usermessagechanger.oldonload = window.onload;
window.onload = function() {
  if (typeof topaz.usermessagechanger.oldonload == "function") topaz.usermessagechanger.oldonload();
  var divlist = topaz.util.getobj("bodyContent").getElementsByTagName("div");
  var divid;
  if (divlist && divlist.className=="usermessage" && (divid=1) ||
      divlist && divlist.className=="tz-primarySection" && divlist.className=="usermessage" && (divid=2)) {
    divlist.innerHTML = topaz.usermessagechanger.newmessage;
  }
};