Target.com script to open your gift card history

Target.com gift card page in your account lists the individual gift cards. You can’t open them in a new window by right clicking since the url is generated on the click of a link. Use the following script to open all your gift card details in new windows.

	$('.cardNumber').each(function(){
		window.open('https://gam-secure.target.com/gam-webapp/giftcards/'+this.id)
	})
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: