Skip to content

Instantly share code, notes, and snippets.

@sachinchoolur
Created July 4, 2022 14:34
Show Gist options
  • Save sachinchoolur/2e1e73a8e46ba203e7b8dc05c319d5a9 to your computer and use it in GitHub Desktop.
Save sachinchoolur/2e1e73a8e46ba203e7b8dc05c319d5a9 to your computer and use it in GitHub Desktop.
Add parityDeals script dynamically
function addParityDeals( src ) {
var s = document.createElement( 'script' );
s.setAttribute( 'src', src );
document.body.appendChild( s );
}
addParityDeals('https://cdn.paritydeals.com/banner.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment