Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. // Wait to run this code until the document has loaded.
  3. document.addEventListener('DOMContentLoaded', function() {
  4.     // Find the element with the hash that you set on the button. There should be
  5.     // just one since you used a unique hash. Change #setThisToYourHash to the
  6.     // unique hash you chose for your button.
  7.     var button = document.querySelectorAll("a[href='#setThisToYourHash']")[0];
  8.     button.className += " " + "crankwheel-com-showu-launch-button";
  9. });
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement