// ==UserScript==
// @name		Steam Flash Sale
// @namespace	com.natemara.flash-sale
// @description	Quickly sell your steam items
// @include		/https?://(www\.)?steamcommunity\.com/market/.*/
// @version		3
// @grant		none
// ==/UserScript==

var itemPattern = /Starting at: $[0-9.]+/;
var $;

// Add jQuery
(function(){
	if (typeof unsafeWindow.jQuery == 'undefined') {
		var GM_Head = document.getElementsByTagName('head')[0] || document.documentElement,
			GM_JQ = document.createElement('script');

		GM_JQ.src = 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js';
		GM_JQ.type = 'text/javascript';
		GM_JQ.async = true;

		GM_Head.insertBefore(GM_JQ, GM_Head.firstChild);
	}
	GM_wait();
})();

// Check if jQuery's loaded
function GM_wait() {
	if (typeof unsafeWindow.jQuery == 'undefined') {
		window.setTimeout(GM_wait, 100);
	} else {
		$ = unsafeWindow.jQuery.noConflict(true);
		letsJQuery();
	}
}

// All your GM code must be inside this function
function letsJQuery() {
	var item = $("#iteminfo1_item_market_actions");
	var itemPrice = item.text();
	console.log(itemPrice);
	console.log(item);
}

function getPrice() {
	var matches = document.documentElement.innerHTML.match(itemPattern);
}

setInterval(function() {
	letsJQuery();
}, 5000);

@@ -1008,20 +1008,13 @@
 = $(
-%22#iteminfo1_
+'div.
 item
@@ -1032,64 +1032,9 @@
 ions
-%22);%0A%09var itemPrice = item.text();%0A%09console.log(itemPrice
+'
 );%0A%09

change query