Created
February 13, 2016 02:59
-
-
Save jordam/31bc9756147786c24137 to your computer and use it in GitHub Desktop.
Purchase one month gift tokens from google play music in bulk.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
Google music is having a sale on one month gift codes. You can redeem them on yourself and can purcahse up to 60 months in advance for half the cost<br> | |
Unfortunately, purchasing these one month at a time is tedious. Drag this link -> <a id="OutputHref" href="javascript:void%20function(){function%20e(){document.querySelectorAll(%22button[data-offer-id='Sgiftonemonth']%22)[0].click(),setTimeout(t,500)}function%20t(){i()%3F(c(),r(),setTimeout(o,500)):setTimeout(t,500)}function%20o(){d()%3F(u(),setTimeout(n,500)):setTimeout(o,500)}function%20n(){m()%3F(l(),window.purchasedmonths=window.purchasedmonths+1,setTimeout(a,500)):setTimeout(n,500)}function%20c(){document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22%23giftee-email-input%22)[0].value=document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22span.gift-disclaimer-line%22)[0].querySelectorAll(%22span%22)[0].textContent,document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22%23gift-message-input%22)[0].value=%22For%20Myself%22}function%20r(){document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.id-gift-continue-button%22)[0].click()}function%20u(){document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22%23loonie-purchase-ok-button%22)[0].click()}function%20l(){document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22%23close-dialog-button%22)[0].click()}function%20i(){return%20void%200!=document.querySelectorAll('iframe[src*=%22epurchase%22]')[0]%26%26void%200!=document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.gift-header-title%22)[0]%3F!0:!1}function%20d(){return%20void%200!=document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.title-byline%22)[0]%3Fdocument.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.title-byline%22)[0].textContent.indexOf(%221-month%22)%3E-1:!1}function%20m(){return%20void%200!=document.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.purchase-header%22)[0]%3Fdocument.querySelectorAll('iframe[src*=%22epurchase%22]')[0].contentWindow.document.querySelectorAll(%22.purchase-header%22)[0].querySelectorAll(%22.title%22)[0].textContent.indexOf(%22Congratulations%22)%3E-1:!1}function%20s(){window.purchasedmonths=0;var%20e=prompt(%22Enter%20Number%20Of%20Months%20To%20Purchase%20(WILL%20CHARGE%20YOU!)%22,%221%22);window.wantmonths=parseInt(e),a()}function%20a(){window.purchasedmonths%3Cwindow.wantmonths%3Fe():alert(%22Done%22)}s()}();">Bulk Buy Gmusic</a> | |
to your bookmarks bar, go to <a href="https://play.google.com/music/gift">Gift Google Music</a> and press the bookmark.<br> | |
It will ask how many you want to buy, then start buying them. | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment