Skip to content

Instantly share code, notes, and snippets.

@reyrodrigez
Last active December 19, 2017 16:26
Show Gist options
  • Select an option

  • Save reyrodrigez/d31db5d944ad0a85a344d858b822579f to your computer and use it in GitHub Desktop.

Select an option

Save reyrodrigez/d31db5d944ad0a85a344d858b822579f to your computer and use it in GitHub Desktop.
var festicketContainer = document.createElement('div');
festicketContainer.setAttribute('id', 'festicket-content');
festicketContainer.setAttribute('data-festival-series', 'black-sheep-festival');
festicketContainer.setAttribute('data-festival-edition', '2018');
festicketContainer.setAttribute('data-festival-domain', 'http://www.blacksheepfestival.com/');
festicketContainer.setAttribute('data-festival-referrer', 'black-sheep-festival');

document.querySelector('.entrioSingleWidgetContainer').appendChild(festicketContainer);

var head = document.getElementsByTagName('head')[0];
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://www.festicket.com/iframe-client/index.js';
head.appendChild(script);
javascript:var festicketContainer = document.createElement('div'); festicketContainer.setAttribute('id', 'festicket-content'); festicketContainer.setAttribute('data-festival-series', 'black-sheep-festival'); festicketContainer.setAttribute('data-festival-edition', '2018'); festicketContainer.setAttribute('data-festival-domain', 'http://www.blacksheepfestival.com/'); festicketContainer.setAttribute('data-festival-referrer', 'black-sheep-festival'); document.querySelector('.entrioSingleWidgetContainer').appendChild(festicketContainer); var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://www.festicket.com/iframe-client/index.js'; head.appendChild(script);

data-festicket-domain

javascript:var festicketContainer = document.createElement('div'); festicketContainer.setAttribute('id', 'festicket-content'); festicketContainer.setAttribute('data-festival-series', 'black-sheep-festival'); festicketContainer.setAttribute('data-festival-edition', '2018'); festicketContainer.setAttribute('data-festival-domain', 'http://www.machina.hu/'); festicketContainer.setAttribute('data-festival-referrer', 'black-sheep-festival'); festicketContainer.setAttribute('data-festicket-domain', 'https://festicket.dev/');  document.querySelector('.entrioSingleWidgetContainer').appendChild(festicketContainer); var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://www.festicket.com/iframe-client/index.js'; head.appendChild(script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment