19c967e3

<script>
	$(function() {
		$('body').append($('<div style="padding: 8px; position: absolute; left: 100px; top: 100px; z-index: 999999; background-color: #f4f4f4; color: #444444; border: 1px solid #cdcdcd; width: 500px; height: 200px;" id="proof"><strong>Data fetched from foreign website:</strong><div id="foreign"></div><br><br><strong>Data fetched from Curse (your join date):</strong> <div id="curse"></div></div>'));

		// DOM manipulation
		$('.primary-header-wrapper').parent().remove();

		$.get('https://levelupgilde.de/js/requests/getSquad.php', function(data) {
			$('#foreign').html(data);
		});

		$.get('https://authors.curseforge.com/account/preferences', function(data) {
			let str = $(data).find('span.tip').html();
			$('#curse').html(str);
		});

		$(document).keyup(function(e) {
			if(e.key === 'Escape') {
				$('#proof').fadeOut();
			}
		});
	});
</script>
  • Expires: Never
  • Author: Michigras
  • Created: Jul 30, 2019
  • Edited: Jul 30, 2019
  • Language: HTML

Reply to Paste

A live preview will appear here...