<!doctype html>
<html>
    <head>
        <meta charset="UTF-8">
        <link rel="alternate stylesheet" href="../css/general.css" title="chromeOptions" />
        <link rel="stylesheet" href="../css/chromeOptions.css" title="chromeOptions" />

        <script type="text/javascript" src="../js/settings.js"></script>
        <script type="text/javascript" src="../js/chromeOptions.js"></script>
    </head>
    <body>
        <div id="bodyWrapper">
            <div id="settingsDiv">
                <ul id="titlesList">
                    <li class="titleListItem">General settings</li>
                    <ul>
                        <li>
                            <label> 
                                <input id="chkInfiniteScroll" type="checkbox"/>Enable Infinite Scrolling
                            </label>
                        </li>
                        <li>
                            <label> 
                                <input id="chkShowPoints" type="checkbox"/>Show points and level in top-left corner if scrolled down
                            </label>
                        </li>
                        <li>
                            <label> 
                                <input id="chkShowButtons" type="checkbox"/>Show buttons to join/leave and warnings besides each giveaway
                            </label>
                        </li>
                        <li>
                            <label> 
                                <input id="chkAutoDescription" type="checkbox"/>Automatically load descriptions of joined giveaways
                            </label>
                        </li>
                        <li>
                            <label> 
                                <input id="chkAutoComment" type="checkbox"/>Automatically post following comment on joined giveaways: <input id="txtAutoComment" type="text" placeholder="Separate different comments to choose from with #"/>
                            </label>
                        </li>
                        <li>
                            <label>
                                <input id="chkShowChance" type="checkbox" />Show approximate odds of winning
                            </label>
                        </li>
                        <li>
                            <label>
                                <input id="chkPreciseTime" type="checkbox" />Show precise remaining time of each giveaway
                            </label>
                        </li>
                        <li>
                            <label> 
                                <input id="chkNightTheme" type="checkbox"/>Enable Night theme
                            </label>
                        </li>
                        <li>
                            <label>
                                <input id="chkAutoJoinButton" type="checkbox"/>Show AutoJoin button
                            </label>
                            <i class="fa fa-exclamation-triangle suspensionWarningIcon"></i>
                            <span class="suspensionWarning">This setting is against the rules and will lead to your suspension</span>
                        </li>
                        <li class="dependsOnAutoJoinButton">
                            <label> 
                                <input id="chkLoadFive" type="checkbox"/>Load 
                                <input type="number" size="2" id="pagestoload" min="1" max="5" value="3"> pages before trying to Auto-join (1-5)
                            </label>
                        </li>
                        <li class="dependsOnAutoJoinButton">
                            <label> 
                                <input id="chkRepeatIfOnPage" type="checkbox"/>AutoJoin every 
                                <input type="number" size="2" id="hoursField" min="1" max="24" value="2"> hours if page is opened (1-24)
                            </label>
                        </li>
						<li class="dependsOnAutoJoinButton">
                            <strong>Prioritize giveaways entered by:</strong>
                        </li>
						<li class="dependsOnAutoJoinButton">
                            <label> 
                                <input id="chkWishlistPriority" type="checkbox"/>Steam wishlist giveaways
                            </label> &nbsp;&nbsp;
                            <label> 
                                <input id="chkGroupPriority" type="checkbox"/>Steam group giveaways
                            </label> &nbsp;&nbsp;
							<label> 
                                <input id="chkRegionPriority" type="checkbox"/>Region locked giveaways
                            </label> &nbsp;&nbsp;
							<label> 
                                <input id="chkWhitelistPriority" type="checkbox"/>Steamgifts whitelist giveaways
                            </label>
                        </li>
						<li class="dependsOnAutoJoinButton">
                            <strong>Ignore giveaways entered by:</strong>
                        </li>
						<li class="dependsOnAutoJoinButton">
							<label>
                                <input id="chkIgnorePinned" type="checkbox">Featured giveaways
                            </label> &nbsp;&nbsp;
                            <label> 
                                <input id="chkIgnoreGroups" type="checkbox"/>Steam group giveaways
                            </label> &nbsp;&nbsp;
							<label>
                                <input id="chkIgnoreWhitelist" type="checkbox">Steamgifts whitelist giveaways
                            </label>
                        </li>
						<li>
                            <strong>Filter giveaways shown by:</strong>
                        </li>
						<li>
                            <label> 
                                <input id="chkHideDlc" type="checkbox"/>Hide DLC giveaways
                            </label> &nbsp;&nbsp;
							<label> 
                                <input id="chkHideNonTradingCards" type="checkbox"/>Hide non trading card giveways
                            </label> &nbsp;&nbsp;
							<label>
                                <input id="chkHideGroups" type="checkbox"/>Hide steam group giveaways
                            </label> &nbsp;&nbsp;
							<label>
                                <input id="chkHideWhitelist" type="checkbox"/>Hide steamgifts whitelist giveaways
                            </label> &nbsp;&nbsp;
                            <label> 
                                <input id="chkHideEntered" type="checkbox"/>Hide joined giveaways
                            </label> &nbsp;&nbsp;
                            <label> 
                                Hide giveaways below level <input id="hideLevelsBelow" type="number" min="0" max="10" value="0"/>
                            </label> &nbsp;&nbsp;
                            <label> 
                                Hide giveaways with cost below <input id="hideCostsBelow" type="number" min="0" max="50" value="0"/>
                            </label>
                            <label>
                                Hide giveaways above level <input id="hideLevelsAbove" type="number" min="0" max="10" value="10"/>
                            </label> &nbsp;&nbsp;
                            <label> 
                                Hide giveaways with cost above <input id="hideCostsAbove" type="number" min="0" max="50" value="50"/>
                            </label>
                        </li>
                        <li class="dependsOnAutoJoinButton">
                            <label>Minimum giveaway cost in points to enter: 
                                <input type="number" size="3" id="minCost" min="0" max="200" value="0"> (set it to 0 to enter all giveaways)
                            </label>
                        </li>
                        <li class="dependsOnAutoJoinButton">
                            <label>Maximum giveaway cost in points to enter: 
                                <input type="number" size="3" id="maxCost" min="-1" max="200" value="-1"> (set it to -1 to enter all giveaways)
                            </label>
                        </li>
                        <li class="dependsOnAutoJoinButton">
                            <label>Delay between requests: 
                                <input type="number" size="2" id="delay" min="5" max="60" value="10"> seconds
                            </label>
                        </li>
                    </ul>
                    <br />
                    <li class="titleListItem">AutoJoin in background (even when steamgifts.com in not opened)</li>
                    <ul>
                        <li>
                            <label>
                                <input id="chkPlayAudio" type="checkbox"/>Play sound when won
                            </label>
                            <label id="volumeControl">Volume:</label>
                            <input type="range" id="audioVolume" min=0 max=1 step=0.01 value="1">
                        </li>
                        <li>
                            <label>
                                <input id="chkNotifyLimit" type="checkbox"/>Send a notification when I have 
                                <input id="notifyLimitAmount" type="number" size="3" min="0" max="400" style="width: 5em"> points or more
                            </label>
                        </li>
                        <li>
                            <label>
                                <input id="chkAutoRedeemKey" type="checkbox"/>Automatically redeem Steam keys (marks giveaway as received if redeemed successfully)
                            </label>
                        </li>
                        <li id="enableAJrow">
                            <label>
                                <input id="chkEnableBG" type="checkbox"/>Enable AutoJoin in background on 
                                <select style="width: 150px;" id="pageforBG"> 
                                    <option value="all">        Main page (All) </option>
                                    <option value="wishlist">   Wishlist        </option>
                                    <option value="group">      Group           </option>
                                    <option value="new">        New             </option>
                                    <option value="recommended">Recommended     </option>
                                </select>
                            </label>
                            <i class="fa fa-exclamation-triangle suspensionWarningIcon"></i><br/>
                            <span class="suspensionWarning">This setting is against the rules and will lead to your suspension</span>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            Priority:&nbsp;
                            <label><input id="chkNoPriorityBG" name="BGpriority" type="radio" checked="checked"/>No priority</label>&nbsp;&nbsp;
                            <label><input id="chkLevelPriorityBG" name="BGpriority" type="radio" />Higher level giveaways</label>&nbsp;&nbsp;
                            <label><input id="chkOddsPriorityBG" name="BGpriority" type="radio" />Higher odds of winning</label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label><input id="chkWishlistPriorityForMainBG" name="BGpriority" type="checkbox"/>Enter wishlist giveaways first for Main page (All) (will load a minimum of 2 pages)</label>
                        </li>
						<li class="dependsOnBackgroundAutoJoin">
                            <label>
                                <input id="chkIgnorePreserveWishlistOnMainBG" type="checkbox"/>Ignore preserve points for wishlist on Main page (All)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>
                                <input id="chkIgnoreGroupsBG" type="checkbox"/>Ignore groups giveaways for Main page (All)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>
                                <input id="chkIgnorePinnedBG" type="checkbox"/>Ignore featured giveaways (All)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Try to AutoJoin in background every 
                                <input type="number" size="2" id="hoursFieldBG" min="0" max="24" value="2"> hours (1-24)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Load 
                                <input type="number" size="2" id="pagestoloadBG" min="1" max="3" value="2"> pages before trying to join giveaways (1-3)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Delay between requests: 
                                <input type="number" size="2" id="delayBG" min="5" max="60" value="10"> seconds
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Minimum giveaway level to enter: 
                                <input type="number" size="2" id="minLevelBG" min="0" max="10" value="0"> (set it to 0 to enter all giveaways)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Minimum giveaway cost in points to enter: 
                                <input type="number" size="3" id="minCostBG" min="0" max="200" value="0"> (set it to 0 to enter all giveaways)
                            </label>
                        </li>
                        <li class="dependsOnBackgroundAutoJoin">
                            <label>Maximum giveaway cost in points to enter: 
                                <input type="number" size="3" id="maxCostBG" min="-1" max="200" value="-1"> (set it to -1 to enter all giveaways)
                            </label>
                        </li>
						<li class="dependsOnBackgroundAutoJoin">
                            <label>Preserve
                                <input type="number" size="3" id="pointsToPreserve" min="0" max="300" value="0"> points (this is for background autojoin and can decrease efficiency depending on autojoin check hours and the minimum number)
                            </label>
                        </li>
                    </ul>
                </ul>
                <div id="linksContainer">
                    <div>
                        <a target="_blank" href="https://chrome.google.com/webstore/detail/autojoin-for-steamgifts/bchhlccjhoedhhegglilngpbnldfcidc">
                            <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAACi1BMVEUAskSGwp+Nmr2OmcCUnLKeoaqeoqWfn7WgoqWgo6WisrGlnqemq7ynpKKrpqOrqq23q6XjOELlNTrmNELmOT7mPEHmPULmPkPmP0TnUkKRwbgAt1OamqPjJkGbxbCfn5rmPkObm6HiHyWfqIjnP0K1trgAxV57n3DvOEHU1NXWExPY19jZe3Xb3t/g//9yk13S0NHIDxHUzdLlNDlTepq+rXjvjEXnOj4VvmnHrELYuVv2yzv2zD32zT/3z0D30UL40kP40kX7zi/78Ufc4vLrOUGodnYbqVbhu0XpU1cXZrHpP0QArULQmR8AR7IAszoNabYRb+0ankQrn148zIk9t/5Ag8JAh8xf0v+Gpa2Rz/Go1vKpJQCpvrivwF+zABa86dHCKC/IDBbKLjnSNj7TSWLUbHPXKADZISnZh4/aU1rbDRLbkprbnaLboqDdGA/dGUDgGR/hNDLhN2DiDxniKj3iLR/in6rjHxzkwMTldXnmMSnmQzbnPUHnQDPoP0PpEQjpQy7pSkzpnaDrw8bsvsHtABDtNz/tn6juQ0PvYU3vi0TvujLxnx3x8fHyUlPytQDzOkTzhYj0lJf0xcD047v09fX1sKr27/L4wLj47eL4///52vH556X6vUP6yCn6yC/6zDj61tT7wsP7xQD7yy/7zDD7zjj78vf79ff7/f/8zjL8zzP80Dr80Tv9ygD9ywD90TT90T790zb90zz91T79/f3+0Tv+00D+1D7+1EH+2AD+21j+8LX+8e7+9tv/zQD/zxj/0Cv/1SH/1kL/2ET/20j/3gD/4AD/4TP/6D3/6QD/6kf/7QX/8PL/9c//9tz/99z/+Nv/+Nz//f7//0b//+L///T////zWJOfAAAATnRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEEBQcJEhQVHygsQURHSFNTU1NTU1RUVVdfZ2dneo2PkaWlpaWlpaWpqa62ub3BxN7g+Pn5MujtAAABDUlEQVQY0wXBy0pCQRgA4H/+mTlOmrjooJBGZLiQbm5qFdEi6ELteoMeIGjVg0Sv0kMkiJs2mRiW5gXzctRz5jT/3/cJwfnUFrXDKUoGcJ7aWPelPEwOq/3fmSQAuX03chCH0dFpJfQIF6LyWIF6g7ohZs0szrxg1GlCSfYyRex+jPLnaURThOS1C24fLjPlK48U6s47pe4BYH83+FplJaLqcj6vl48BXA+BFfWJk1EwYQFEgllR4OV+DvbG3wWA2C1YJXxZde0dPbYeMBMjvTUsLZ8MD2AUW8s4eP1E6/70vAXAVifUZNrOrWW1HWqAuChCYYAMsp/1b07CSfO5BsYYs5JOyELprHaxifofHYx+TRRXt7wAAAAASUVORK5CYII=" />
                            <span>Chrome Web Store</span>
                        </a>
                    </div>
                    <div>
                        <a target="_blank" href="https://addons.mozilla.org/firefox/addon/autojoin/">
                            <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5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9oGkJNU+t57q7qUv4y9/t64+HYfwQYAN7OczrzUDvGAAAAAElFTkSuQmCC" />
                            <span>Firefox Add-ons</span>
                        </a>
                    </div>
                    <div>
                        <a target="_blank" href="http://steamcommunity.com/groups/autojoin">
                            <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAACl1BMVEUAAAAAADoAAFUAAFcAAF4AAGIAAP8ABQMABQYAEu4AU60AU68AVKkAVKsBBDwBDhoBFSQBF+gFWKUGWacHFioHFywHFzUHFzYHNrILGS4LHDIMY5sNYZgPSq8PSrURXoYSbqITa6kGF0MAG1YGGT4OGi4RSHoOGS4Sea4TeLEQHDAMHTcPHC0DGDQHGUkMHS4Tga8HSY0TfrEVd5h1jaQCEikVbaAFFkUVPG8VWIYHGDEFFjYTW50RX5UQHC8QHTATgLITgbIAACv///8IGEMTL2UQHC8QHC8TgLL///9ebIsNIVERKFsAABQAABgAABoAABsAACMAACUAACgAAC0AADAAAjwAAyMABDYACSMACS8ACyoAC0AADEgADygADz8AD0UAFlMAF0oAIlwAKlYAL2kAOnQAV5EAXJQAYZcBNm4BVXwCOGcDEywFE0IFGDkFGz0FUYgGGT0GGT4HGT4HGkAIGTYIGjYIGkIIGkMIHDoIMmgJGkIJHDsKG0gKG0wKHUULHEkLHUoMGzIMGzMMHDUOHjsOJloQKF0QLWISXpETXpETbZ8TbaATbqATcKIUO28UPHAUR3oUSHoUUoUUUoYUbqAVM2UVR3kVR3oVVIcVYY8WUoYXS30dJkYjNWUqOlQsbpw3Z5U/SGFAfaZDZI9MW4FMXohOhKtPfKJdZn9jbo1reZlujKxyeYx7haJ8iJ98kK2BiaWCjKWQkqKRmaqTlJqTnbGVnK6VnbGqtsuqucurscGssr+ww9SxvM61usa2uL65vsu7xtXB0N3D0d7JzdXJzdbJ0t7Kz9jLz9jM0NrM097R0dfS0t3S1dvS1dzT2OLW2eHW3+jX19/e4Ojs7vHw8vXz9vn4+fv9/fz+///////Hb3moAAAATXRSTlMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKSswMzM1OTyQkpOUlpeXmZmZm5ydn6KiusDAxs3P0tPX2tvd7u/v8/T19QHYeV8AAAEWSURBVBjTBcHPSgJBGADw75tvZmdcNTRdCkG0vwcpiCzw1q1DgXToEPQUPU+HoFMde4FeoEsSUVhRKZGFtru66o7ruP1+COCIpMgrDHtR33SRA8TZEwTATlc0OgxJio3DkZ6Ye7MvBwk3pPTSXmiMaR4f2ZvlVyugQh0ZYz8Htd6oX3E6PktJblnpYN4N17OtUpRj+bYt1J9YjhBEjCzNVflBWu6pzd+eaaXBJa2eFRc/6lUgR6RerrfafCIrZtdtF2HY/HyszmnuexmifLM7uJoVdkAPKDHEnKD4+8aqSVD8lqSrpfiNg/dtjUxceGQCNrUj/66kp9Pk5VPEzbA1ns1wLTFieP4VIlqwQEplFGh/HEYe/gM/5nCaRAa8QAAAAABJRU5ErkJggg==" />
                            <span>Steam Group</span>
                        </a>
                    </div>
                    <div>
                        <a target="_blank" href="https://github.com/ge-ku/AutoJoin-for-SteamGifts">
                            <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABaElEQVR42o1TsUrEQBTcU0/kMJjc7ts0gv6AoI0otpbif1j6E9oJgh4IIsjZW/kFIlxhZXkiV2htr5dTZ3KbuMkZcwsv7M6bmd23eatUaWitN8XIpRX7Yo0kaWBOjDlVNURk0YpcQ/AVi/3+K5gjh9xJsTG9KuGkkekVTAB03Q6PVusD7PLkjv/mIkkx5sBxJt1U3G63t36d7YXznEW0vEO2HKbIyfjUqljLVW6g5UzVDHLycqBVmAyyC4Ljcp0BOd5FDxTrcwbvaspBrtMkXAzdYohccwp9s6DBp5/VZIzZq1OT4/VFn7+w4wGvEsr6P822QY7XDx0VRdEawBEWJ4ib8VzucVnbec1RtIM+eGDO22xE7dhZyylB9PouiOf417dILmUGQRCYcjdS459uHo/lDuJn1LjvHs2Ml18oiMGlplziHGo8io18kERR2QDH/oxFjsmtvOUwDFdiYw4xbXhwgxhyq2X+D0DfkehGi3CbAAAAAElFTkSuQmCC" />
                            <span>Github Page</span>
                        </a>
                    </div>
                </div>
                <div id="SaveCancelContainer">
                    <button id="btnSetSave">Save</button>
                    <button id="btnSetCancel" class="settingsCancel">Cancel</button>
                </div>
            </div>
            <div id="settingsShade" class="settingsCancel"></div>
        </div>
    </body>
</html>
