Scans your whitelist for a particular game to see how many on your list own it. Many props to Sighery for helping me with the API business and for creating the code I butchered to make this.
JSHINT output:
script: (E030) Expected an identifier and instead saw 'else' on line: 198 at character: 7
script: (W030) Expected an assignment or function call and instead saw an expression on line: 198 at character: 7
script: (E058) Missing semicolon on line: 198 at character: 11
script: (E041) Unrecoverable syntax error. (37% scanned) on line: 223 at character: 5
SyntaxError: Unexpected token else
at C (eval at exec_fn (unknown source), :57:186)
at Object.create (eval at exec_fn (unknown source), :65:282)
at u (eval at exec_fn (unknown source), :14:88)(anonymous function) @ VM457:58(anonymous function) @ VM457:23e @ VM455:8(anonymous function) @ VM455:9e @ content.js:6(anonymous function) @ content.js:7sendResponseAndClearCallback @ extensions::messaging:363messageListener @ extensions::messaging:395target.(anonymous function) @ extensions::SafeBuiltins:19EventImpl.dispatchToListener @ extensions::eventbindings:388target.(anonymous function) @ extensions::SafeBuiltins:19publicClassPrototype.(anonymous function) @ extensions::utils:151EventImpl.dispatch @ extensions::event_bindings:372EventImpl.dispatch @ extensions::event_bindings:394target.(anonymous function) @ extensions::SafeBuiltins:19publicClassPrototype.(anonymous function) @ extensions::utils:151dispatchOnMessage @ extensions::messaging:336
VM457:57 Uncaught SyntaxError: Unexpected token else
VM457:58 Syntax error @ "SteamGifts Inventory Checker"!
JSHINT output: script: (E030) Expected an identifier and instead saw 'else' on line: 198 at character: 7 script: (W030) Expected an assignment or function call and instead saw an expression on line: 198 at character: 7 script: (E058) Missing semicolon on line: 198 at character: 11 script: (E041) Unrecoverable syntax error. (37% scanned) on line: 223 at character: 5
SyntaxError: Unexpected token else at C (eval at exec_fn (unknown source),:57:186)
at Object.create (eval at exec_fn (unknown source), :65:282)
at u (eval at exec_fn (unknown source), :14:88)(anonymous function) @ VM457:58(anonymous function) @ VM457:23e @ VM455:8(anonymous function) @ VM455:9e @ content.js:6(anonymous function) @ content.js:7sendResponseAndClearCallback @ extensions::messaging:363messageListener @ extensions::messaging:395target.(anonymous function) @ extensions::SafeBuiltins:19EventImpl.dispatchToListener @ extensions::eventbindings:388target.(anonymous function) @ extensions::SafeBuiltins:19publicClassPrototype.(anonymous function) @ extensions::utils:151EventImpl.dispatch @ extensions::event_bindings:372EventImpl.dispatch @ extensions::event_bindings:394target.(anonymous function) @ extensions::SafeBuiltins:19publicClassPrototype.(anonymous function) @ extensions::utils:151dispatchOnMessage @ extensions::messaging:336
VM457:57 Uncaught SyntaxError: Unexpected token else