Posted By

theraccoonbear on 05/18/11


Tagged


Versions (?)

Find My Application


 / Published in: JavaScript
 

  1. if (location.pathname.startsWith('/action/user/profile/teamApplicationViewDetail')) {
  2. var table = $('.dataSummary');
  3.  
  4. var id = parseInt(table.find('tr:eq(0) td:eq(1)').html())
  5. var email = table.find('tr:eq(5) td:eq(1)').html().replace(/( |\s+)/gi, '');
  6. if (email != '[email protected]') {
  7. setTimeout(function() {
  8. location = 'http://www.promotive.com/action/user/profile/teamApplicationViewDetail?teamApplicationId=' + (id + 1);
  9. }, (Math.random() * 3000) + 2000);
  10. }
  11. }

Report this snippet  

You need to login to post a comment.