Skip to content

Instantly share code, notes, and snippets.

@yosriady
Created December 2, 2014 03:16
Show Gist options
  • Select an option

  • Save yosriady/127749ec67ac306bb029 to your computer and use it in GitHub Desktop.

Select an option

Save yosriady/127749ec67ac306bb029 to your computer and use it in GitHub Desktop.
$(document).on("page:change", function() {
UserVoice=window.UserVoice||[];(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/1foGiwZkzLazJrcOoI22A.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})();
UserVoice.push(['set', {
accent_color: '#448dd6',
trigger_color: 'white',
trigger_background_color: 'rgba(46, 49, 51, 0.6)'
}]);
UserVoice.push(['addTrigger', { mode: 'contact', trigger_position: 'bottom-right' }]);
UserVoice.push(['autoprompt', {}]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment