Find My Application


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.