Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- (function()
- {
- 'use strict';
- var cnt=6000;
- function init()
- {
- if(typeof jQuery !="undefined")
- {
- // call to change content
- content_change();
- window.onload = function(){content_change();};
- window.onclick = function(){content_change();};
- }
- else
- {
- cnt=cnt-500;
- if(cnt>500)setTimeout(init,500);
- }
- }
- function content_change()
- {
- console.log( "content changed 1" );
- if($("#priceSummaryMount").length > 0)
- {
- $('button.yelbtn').click(function()
- {
- $('button.btn.btn-indigo.skip-cnt-btn').trigger('click');
- $('.flexi-promotion-popup').hide();
- });
- }
- else
- {
- cnt=cnt-500;
- if(cnt>500)setTimeout(content_change,500);
- }
- }
- init();
- })()
- </script>
Add Comment
Please, Sign In to add comment