Return to Snippet

Revision: 46372
at May 18, 2011 02:24 by theraccoonbear


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

Initial URL

                                

Initial Description

                                

Initial Title
Find My Application

Initial Tags

                                

Initial Language
JavaScript