For instance, jsdom's more spec-compliant parsing causes issues with auto-closing elements (lifehacker article) and with not having self-closing <img> and <br> tags. The former was fixed by removing offending markup, the latter by adjusting JSDOMParser to be more sane, and the expected outputs to cope with this.
Finally, JSDOMParser automatically drops comments. The test code needed to manually do this in the jsdom case.
alt="A new Bill would require telecommunications service providers to store so-called ‘metadat"
/>
alt="A new Bill would require telecommunications service providers to store so-called ‘metadat">
</div>
<pclass="caption"><spanid="imgCaption"class="caption-text">A new Bill would require telecommunications service providers to store so-called ‘metadata’ for two years.</span>
<pdata-textannotation-id="58a492029dca5e6a6e481d21b6b2933a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"data-chomp-id="n1s6c2m6kc07iqdyllj6"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="58a492029dca5e6a6e481d21b6b2933a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"data-chomp-id="n1s6c2m6kc07iqdyllj6"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="a043044f9b3e31fd85568b17e3b1b5f3"class="first-text"><span>We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.</span>
</p>
<h3data-textannotation-id="e51cbbc52eb8c3b33571908351076cf7"><strong>Understand How Your Own Brain Works Against You</strong></h3>
<pdata-textannotation-id="268f7702467d33e3b0972dd09f1cf0a6"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"data-chomp-id="o4dpyrcbiqyfrc3bxx6p"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="268f7702467d33e3b0972dd09f1cf0a6"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"data-chomp-id="o4dpyrcbiqyfrc3bxx6p"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="32604538f84919efff270e87b61191a1">It may come as no surprise to learn that stores employ all kinds of tricks
to get you to part ways with your cash, and your brain plays right along.
@ -57,7 +57,7 @@
always research beforehand and be on the lookout for this common trick
to avoid impulse buys.</p>
<h3data-textannotation-id="eedde8c384145f2593efc2a15a4d79de"><strong>Make a List of </strong><em><strong>Everything</strong></em><strong> You Own and Do Some Decluttering</strong></h3>
<pdata-textannotation-id="8044cf9aab698fd28931acd90ba96f7a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"data-chomp-id="xrhkwleyurcizy4akiae"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="8044cf9aab698fd28931acd90ba96f7a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"data-chomp-id="xrhkwleyurcizy4akiae"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="a2a886d841e5aed848cdf7088edde4ea">Now that you know what you're up against, it's time to start changing
the way you think. Before you can stop buying crap you don't need, you
@ -112,7 +112,7 @@
is all the crap you bought that you don't need. Take a good look and remember
it.</p>
<h3data-textannotation-id="f15ab0a628b159459f095f04fef851ba"><strong>See How Much Money and Time You Spent on the Stuff You Threw Out</strong></h3>
<pdata-textannotation-id="bc2f55587bf4ab07a1852a8d26217233"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"data-chomp-id="qodag11euf2npkawkn9v"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="bc2f55587bf4ab07a1852a8d26217233"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"data-chomp-id="qodag11euf2npkawkn9v"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="95ab4fe30c3ade42a8011966ea54aa0b">Now take a look at your "crap" list again and start calculating how much
you spent on all of it. If it was a gift, mark it as $0. Otherwise, figure
@ -137,7 +137,7 @@
<h3
data-textannotation-id="6342bf7f15d9eddd21489c23e51ca434"><strong>List Every Non-Material Thing In Your Life that Makes You Happy</strong>
</h3>
<pdata-textannotation-id="bafeac1c3808e0d2900190979f058b2c"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"data-chomp-id="imfc9ybqfw0jmztbhfrh"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="bafeac1c3808e0d2900190979f058b2c"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"data-chomp-id="imfc9ybqfw0jmztbhfrh"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="4bd8fbaabb33ff1cb5dc93c16e1f83cc">Now it's time to make a different list. While material items may bring
plenty of joy, the things in your life that make you happiest probably
@ -148,7 +148,7 @@
<pdata-textannotation-id="104a646a62ad7a0cfb4e3ff086185fdc"><span>These are probably the things that actually make you want to get out of bed in the morning and keep on keepin' on. Once you have it all down, put it in your purse or wallet. The next time you feel the urge to buy something, whip this list out first and remind yourself why you probably don't need it.</span>
</p>
<h3data-textannotation-id="532cf992ff45d52de501c1a8f80fc152"><strong>Spend Some Time Away from Material Things to Gain Perspective</strong></h3>
<pdata-textannotation-id="64f5c7155ad89bd2835399d33c1ae28a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"data-chomp-id="afy7n45jfvsjdmmhonct"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="64f5c7155ad89bd2835399d33c1ae28a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"data-chomp-id="afy7n45jfvsjdmmhonct"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="84554492c487779e921b98fb64222177">If you're having a really hard time with your spending, it can help to
get away from material objects completely. When you're constantly surrounded
@ -163,7 +163,7 @@
without your purse or wallet (but carry your ID). If you can't buy anything,
you'll be forced to experience things a different way.</p>
<h3data-textannotation-id="98c11bebae0bbcdbe8411df0186d6465"><strong>Develop a Personal "Should I Buy This?" Test</strong></h3>
<pdata-textannotation-id="ff438b878771354bb7f6d065ff50dbb2"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"data-chomp-id="s3pq8vjrvyjgne4lfsod"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="ff438b878771354bb7f6d065ff50dbb2"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"data-chomp-id="s3pq8vjrvyjgne4lfsod"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="4af04ae83f18d9c37da21527bcd4a290">If you don't have a personal "should I buy this?" test, now's the perfect
time to make one. When you find an item you think you need or want, it
@ -191,11 +191,7 @@
<h3
data-textannotation-id="c0ed0882675acc340dcd88e13ca514b3"><strong>Learn to Delay Gratification and Destroy the Urge to Impulse Buy</strong>
</h3>
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"class="js_annotatable-image cursor-crosshair"/></span>
class="js_annotation-footnote annotation-footnote"><aclass="js_annotation-footnote-link annotation-footnote-link proxima"href="http://fakehost/does-it-count-that-im-waiting-for-final-fantasy-type-0-1690289549">1</a><divdata-annotation-id="1690289551"class="annotation-inset-under js_annotation-inset-1690289551 hide"><divclass="annotation-content"><divclass="js_annotation-content"><pclass="first-text">Does it count that I'm waiting for Final Fantasy Type-0 before buying a PS4?</p><footerclass="row proxima"></footer></div></div></div></span></span>
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="3d8086719c5da749f877629d498ccab9">When it comes to the unnecessary crap we buy, impulse purchases probably
make up a good deal of them. We love to feel gratification instantly and
@ -245,7 +241,7 @@
do and you won't be subconsciously trying to fill that void with useless
crap.</p>
<h3data-textannotation-id="aed9b435c4ed23e573c453ceeb34ed18"><strong>Turn the Money You Save Into More Money</strong></h3>
<pdata-textannotation-id="21154394d63f1943d01f2b717aa31115"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"data-chomp-id="atb9qm07fvvg7hqkumkw"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"class="js_annotatable-image cursor-crosshair"/></span>
<pdata-textannotation-id="21154394d63f1943d01f2b717aa31115"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"data-chomp-id="atb9qm07fvvg7hqkumkw"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"class="js_annotatable-image cursor-crosshair"></span>
</p>
<pdata-textannotation-id="6141942e977cc058fd7a0fa06a3f7389">Once you've programmed your mind to stop buying crap you don't need, you'll
have some extra cash to play with. Take all that money and start putting
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"class="js_annotatable-image cursor-crosshair"/></span><spanclass="annotation-footnote-wrapper clearfix"><spandata-annotation-type="image"data-image-chompid="y2ldv5eufb3jcrtfouye"data-annotation-y="56"data-annotation-x="47"data-annotation-id="1690289549"class="js_annotation-footnote annotation-footnote"><aclass="js_annotation-footnote-link annotation-footnote-link proxima"href="/does-it-count-that-im-waiting-for-final-fantasy-type-0-1690289549">1</a><divdata-annotation-id="1690289551"class="annotation-inset-under js_annotation-inset-1690289551 hide"><divid="annotation_1690289551"class="hide-annotation right cursor-pointer"><spanclass="icon icon-x-small"></span></div><divclass="annotation-content"><divclass="js_annotation-content"><pclass="first-text">Does it count that I'm waiting for Final Fantasy Type-0 before buying a PS4?</p><footerclass="row proxima"><divclass="medium-8 columns"><spanclass="floated-container img-30"><spanclass="avatar"><spanclass="img-border mbn mrm"><imgalt=""class="avatar"src="http://i.kinja-img.com/gawker-media/image/upload/c_fill,fl_progressive,g_center,h_200,q_80,w_200/17jcxjgw9pi83png.png"/></span></span><spanclass="txt blogname proxima text-upper text-strong text-light txt-30">greenarcher02</span></span></div><divclass="medium-4 columns medium-text-right text-center txt-30"><ahref="/does-it-count-that-im-waiting-for-final-fantasy-type-0-1690289549"class="text-light text-small view-discussion">View discussion>></a></div></footer></div></div></div></span></span></p>
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"class="js_annotatable-image cursor-crosshair"/></span></p>
</div><divclass="footer-kinja__bottom"><divclass="row"><divclass="column"><divclass="logo-wrapper"><span>Powered by</span><adata-ga="[Kinja Footer, Kinja.com Click, js_pageType]"href="http://kinja.com"><h1class="kinja-title kinja-title--white">Kinja</h1></a></div></div></div></div></div></div><divid="read-only-warning"style="display:none;"><divclass="row"><divclass="column small-12">Kinja is in read-only mode. We are working to restore service.</div></div></div><divid="matchbuy-placeholder"></div><iframewidth="1"height="1"name="spr"src="//d8rk54i4mohrb.cloudfront.net/iframe.html?pid=5266d09097b0c95740000002&title=How%20to%20Program%20Your%20Mind%20to%20Stop%20Buying%20Crap%20You%20Don%E2%80%99t%20Need&url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&date=Mon%20Mar%2009%202015%2015%3A00%3A00%20GMT%2B0000%20%28GMT%29&authors=PatrickAllan&channels=&tags=money%7Cshopping%7Csaving%20money%7Cpersonal%20finances%7Cmind%20hacks%7Chabits%7Cbudget%7Cpsychology%7Ceditors%20picks&iframe=true&domain=lifehacker.com&r=true&referrer=&page_url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&ref_url=&cache_buster=1427305231937"visible="false"id="spr-iframe-n"style="display: none;"></iframe><iframewidth="1"height="1"name="spr"src="//d8rk54i4mohrb.cloudfront.net/container.html?pid=5266d09097b0c95740000002&title=How%20to%20Program%20Your%20Mind%20to%20Stop%20Buying%20Crap%20You%20Don%E2%80%99t%20Need&url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&date=Mon%20Mar%2009%202015%2015%3A00%3A00%20GMT%2B0000%20%28GMT%29&authors=PatrickAllan&channels=&tags=money%7Cshopping%7Csaving%20money%7Cpersonal%20finances%7Cmind%20hacks%7Chabits%7Cbudget%7Cpsychology%7Ceditors%20picks&iframe=true&domain=lifehacker.com&r=true&referrer=&page_url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&ref_url=&cache_buster=1427305231939"visible="false"id="spr-iframe-x"style="display: none;"></iframe><divclass="js_loading-layer row hide"><divclass="column"><divclass="row"><divclass="loading-layer"><divclass="large-8 large-offset-4 columns"><divclass="loading-layer-main-column"><spanclass="spinner bounce"><spanclass="one"></span><spanclass="two"></span><spanclass="three"></span></span></div></div></div></div></div></div></body></html>
</div><divclass="footer-kinja__bottom"><divclass="row"><divclass="column"><divclass="logo-wrapper"><span>Powered by</span><adata-ga="[Kinja Footer, Kinja.com Click, js_pageType]"href="http://kinja.com"><h1class="kinja-title kinja-title--white">Kinja</h1></a></div></div></div></div></div></div><divid="read-only-warning"style="display:none;"><divclass="row"><divclass="column small-12">Kinja is in read-only mode. We are working to restore service.</div></div></div><divid="matchbuy-placeholder"></div><iframewidth="1"height="1"name="spr"src="//d8rk54i4mohrb.cloudfront.net/iframe.html?pid=5266d09097b0c95740000002&title=How%20to%20Program%20Your%20Mind%20to%20Stop%20Buying%20Crap%20You%20Don%E2%80%99t%20Need&url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&date=Mon%20Mar%2009%202015%2015%3A00%3A00%20GMT%2B0000%20%28GMT%29&authors=PatrickAllan&channels=&tags=money%7Cshopping%7Csaving%20money%7Cpersonal%20finances%7Cmind%20hacks%7Chabits%7Cbudget%7Cpsychology%7Ceditors%20picks&iframe=true&domain=lifehacker.com&r=true&referrer=&page_url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&ref_url=&cache_buster=1427305231937"visible="false"id="spr-iframe-n"style="display: none;"></iframe><iframewidth="1"height="1"name="spr"src="//d8rk54i4mohrb.cloudfront.net/container.html?pid=5266d09097b0c95740000002&title=How%20to%20Program%20Your%20Mind%20to%20Stop%20Buying%20Crap%20You%20Don%E2%80%99t%20Need&url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&date=Mon%20Mar%2009%202015%2015%3A00%3A00%20GMT%2B0000%20%28GMT%29&authors=PatrickAllan&channels=&tags=money%7Cshopping%7Csaving%20money%7Cpersonal%20finances%7Cmind%20hacks%7Chabits%7Cbudget%7Cpsychology%7Ceditors%20picks&iframe=true&domain=lifehacker.com&r=true&referrer=&page_url=http%3A%2F%2Flifehacker.com%2Fhow-to-program-your-mind-to-stop-buying-crap-you-don-t-1690268064&ref_url=&cache_buster=1427305231939"visible="false"id="spr-iframe-x"style="display: none;"></iframe><divclass="js_loading-layer row hide"><divclass="column"><divclass="row"><divclass="loading-layer"><divclass="large-8 large-offset-4 columns"><divclass="loading-layer-main-column"><spanclass="spinner bounce"><spanclass="one"></span><spanclass="two"></span><spanclass="three"></span></span></div></div></div></div></div></div></body></html>
<pdata-textannotation-id="58a492029dca5e6a6e481d21b6b2933a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"data-chomp-id="n1s6c2m6kc07iqdyllj6"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"/></span>
<pdata-textannotation-id="58a492029dca5e6a6e481d21b6b2933a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"data-chomp-id="n1s6c2m6kc07iqdyllj6"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--hqqO9fze--/n1s6c2m6kc07iqdyllj6.jpg"></span>
</p>
<pdata-textannotation-id="a043044f9b3e31fd85568b17e3b1b5f3"class="first-text"><span>We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.</span>
</p>
<h3data-textannotation-id="e51cbbc52eb8c3b33571908351076cf7"><strong>Understand How Your Own Brain Works Against You</strong></h3>
<pdata-textannotation-id="268f7702467d33e3b0972dd09f1cf0a6"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"data-chomp-id="o4dpyrcbiqyfrc3bxx6p"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"/></span>
<pdata-textannotation-id="268f7702467d33e3b0972dd09f1cf0a6"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"data-chomp-id="o4dpyrcbiqyfrc3bxx6p"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--QeUTCiuW--/o4dpyrcbiqyfrc3bxx6p.jpg"></span>
</p>
<pdata-textannotation-id="32604538f84919efff270e87b61191a1">It may come as no surprise to learn that stores employ all kinds of tricks
to get you to part ways with your cash, and your brain plays right along.
@ -57,7 +57,7 @@
always research beforehand and be on the lookout for this common trick
to avoid impulse buys.</p>
<h3data-textannotation-id="eedde8c384145f2593efc2a15a4d79de"><strong>Make a List of </strong><em><strong>Everything</strong></em><strong> You Own and Do Some Decluttering</strong></h3>
<pdata-textannotation-id="8044cf9aab698fd28931acd90ba96f7a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"data-chomp-id="xrhkwleyurcizy4akiae"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"/></span>
<pdata-textannotation-id="8044cf9aab698fd28931acd90ba96f7a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"data-chomp-id="xrhkwleyurcizy4akiae"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mlR3Ku0_--/xrhkwleyurcizy4akiae.jpg"></span>
</p>
<pdata-textannotation-id="a2a886d841e5aed848cdf7088edde4ea">Now that you know what you're up against, it's time to start changing
the way you think. Before you can stop buying crap you don't need, you
@ -112,7 +112,7 @@
is all the crap you bought that you don't need. Take a good look and remember
it.</p>
<h3data-textannotation-id="f15ab0a628b159459f095f04fef851ba"><strong>See How Much Money and Time You Spent on the Stuff You Threw Out</strong></h3>
<pdata-textannotation-id="bc2f55587bf4ab07a1852a8d26217233"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"data-chomp-id="qodag11euf2npkawkn9v"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"/></span>
<pdata-textannotation-id="bc2f55587bf4ab07a1852a8d26217233"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"data-chomp-id="qodag11euf2npkawkn9v"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--Tacb0tyW--/qodag11euf2npkawkn9v.jpg"></span>
</p>
<pdata-textannotation-id="95ab4fe30c3ade42a8011966ea54aa0b">Now take a look at your "crap" list again and start calculating how much
you spent on all of it. If it was a gift, mark it as $0. Otherwise, figure
@ -137,7 +137,7 @@
<h3
data-textannotation-id="6342bf7f15d9eddd21489c23e51ca434"><strong>List Every Non-Material Thing In Your Life that Makes You Happy</strong>
</h3>
<pdata-textannotation-id="bafeac1c3808e0d2900190979f058b2c"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"data-chomp-id="imfc9ybqfw0jmztbhfrh"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"/></span>
<pdata-textannotation-id="bafeac1c3808e0d2900190979f058b2c"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"data-chomp-id="imfc9ybqfw0jmztbhfrh"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--x9hLbIKJ--/imfc9ybqfw0jmztbhfrh.jpg"></span>
</p>
<pdata-textannotation-id="4bd8fbaabb33ff1cb5dc93c16e1f83cc">Now it's time to make a different list. While material items may bring
plenty of joy, the things in your life that make you happiest probably
@ -148,7 +148,7 @@
<pdata-textannotation-id="104a646a62ad7a0cfb4e3ff086185fdc"><span>These are probably the things that actually make you want to get out of bed in the morning and keep on keepin' on. Once you have it all down, put it in your purse or wallet. The next time you feel the urge to buy something, whip this list out first and remind yourself why you probably don't need it.</span>
</p>
<h3data-textannotation-id="532cf992ff45d52de501c1a8f80fc152"><strong>Spend Some Time Away from Material Things to Gain Perspective</strong></h3>
<pdata-textannotation-id="64f5c7155ad89bd2835399d33c1ae28a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"data-chomp-id="afy7n45jfvsjdmmhonct"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"/></span>
<pdata-textannotation-id="64f5c7155ad89bd2835399d33c1ae28a"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"data-chomp-id="afy7n45jfvsjdmmhonct"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--6NwBgQLy--/afy7n45jfvsjdmmhonct.jpg"></span>
</p>
<pdata-textannotation-id="84554492c487779e921b98fb64222177">If you're having a really hard time with your spending, it can help to
get away from material objects completely. When you're constantly surrounded
@ -163,7 +163,7 @@
without your purse or wallet (but carry your ID). If you can't buy anything,
you'll be forced to experience things a different way.</p>
<h3data-textannotation-id="98c11bebae0bbcdbe8411df0186d6465"><strong>Develop a Personal "Should I Buy This?" Test</strong></h3>
<pdata-textannotation-id="ff438b878771354bb7f6d065ff50dbb2"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"data-chomp-id="s3pq8vjrvyjgne4lfsod"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"/></span>
<pdata-textannotation-id="ff438b878771354bb7f6d065ff50dbb2"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"data-chomp-id="s3pq8vjrvyjgne4lfsod"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--ciqk42G0--/s3pq8vjrvyjgne4lfsod.jpg"></span>
</p>
<pdata-textannotation-id="4af04ae83f18d9c37da21527bcd4a290">If you don't have a personal "should I buy this?" test, now's the perfect
time to make one. When you find an item you think you need or want, it
@ -191,7 +191,7 @@
<h3
data-textannotation-id="c0ed0882675acc340dcd88e13ca514b3"><strong>Learn to Delay Gratification and Destroy the Urge to Impulse Buy</strong>
</h3>
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"/></span>
<pdata-textannotation-id="1d43712fc5ce8f156e4661cca5750575"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"data-chomp-id="y2ldv5eufb3jcrtfouye"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--mtob1sjR--/y2ldv5eufb3jcrtfouye.jpg"></span>
</p>
<pdata-textannotation-id="3d8086719c5da749f877629d498ccab9">When it comes to the unnecessary crap we buy, impulse purchases probably
make up a good deal of them. We love to feel gratification instantly and
@ -241,7 +241,7 @@
do and you won't be subconsciously trying to fill that void with useless
crap.</p>
<h3data-textannotation-id="aed9b435c4ed23e573c453ceeb34ed18"><strong>Turn the Money You Save Into More Money</strong></h3>
<pdata-textannotation-id="21154394d63f1943d01f2b717aa31115"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"data-chomp-id="atb9qm07fvvg7hqkumkw"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"/></span>
<pdata-textannotation-id="21154394d63f1943d01f2b717aa31115"class="has-media media-640"><spanclass="img-border"><imgwidth="636"height="358"data-format="jpg"data-asset-url="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"data-chomp-id="atb9qm07fvvg7hqkumkw"alt="How to Program Your Mind to Stop Buying Crap You Don’t Need"src="http://i.kinja-img.com/gawker-media/image/upload/s--4Ajak63w--/atb9qm07fvvg7hqkumkw.jpg"></span>
</p>
<pdata-textannotation-id="6141942e977cc058fd7a0fa06a3f7389">Once you've programmed your mind to stop buying crap you don't need, you'll
have some extra cash to play with. Take all that money and start putting
<figcaptionclass="imageCaption"><strongclass="markup--strong markup--figure-strong">We designed many of these slides to help explain to ourselves what we were doing</strong>
/><strong>Lupita Nyong</strong>'<strong>o</strong>'s now-famous Oscar dress
<imgalt="0225-lupita-nyongo-getty-01"src="http://ll-media.tmz.com/2015/02/26/0225-lupita-nyongo-getty-4.jpg"><strong>Lupita Nyong</strong>'<strong>o</strong>'s now-famous Oscar dress
-- adorned in pearls -- was stolen right out of her hotel room ... TMZ
has learned.</p>
<p>Law enforcement sources tell TMZ ... the dress was taken out of Lupita's
@ -24,14 +23,12 @@
<p>We're told there is security footage that cops are looking at that could
/><strong>12:00 PM PT</strong> -- Sheriff's deputies were at The London Thursday
<imgalt="update_graphic_red_bar"src="http://ll-media.tmz.com/2013/11/20/update-graphic-red-bar.jpg"><strong>12:00 PM PT</strong> -- Sheriff's deputies were at The London Thursday
morning. We know they were in the manager's office and we're told
they have looked at security footage to determine if they can ID the culprit.</p>
<p>Officials are worried about the number of Tunisian militants who may have
joined the jihadists in Libya — with the goal of returning home to fight
@ -143,4 +142,4 @@
<pchannel="wp.com"><ahref="http://www.washingtonpost.com/blogs/worldviews/wp/2015/03/18/tunisias-bardo-museum-attacked-by-terrorists-is-home-to-amazing-roman-treasures/">Tunisia’s Bardo museum is home to amazing Roman treasures</a>