قالب وردپرس درنا توس
Home / Best Lists / Top 5 Tips for Healing Your New Year's Hangover

Top 5 Tips for Healing Your New Year's Hangover



At the end of the year, we quickly start thinking about what we will do on New Year's Eve. Do we stay in? We go out? No matter where we choose to raise our glasses at midnight, one thing is usually a big part of the celebration: alcohol. Of course, this often means that many of us are desperately looking for hangover cures the next morning.

Even if we try to stay cool in New York City, many of us end up drinking a lot more than we planned and drinking an amazing New Year party. And while we're doing our best to be good for the new year, unfortunately many people wake up on January 1

st with the worst hangover.

Because nobody really knows who will be affected by a massive headache or strong feelings, we have put together a list of hangover remedies that you can cope with by the beginning of the new year. Don't worry, they don't need too much energy and are usually found at home. Or if you're a great planner, you can have some remedies on your bedside table so they are available when the sun comes up and the headache begins.

Here are our five best hangover remedies:

5.) Yoga

  Girl who does yoga as a hangover cure "width =" 1200 "height =" 800

Although you would probably prefer all day Staying in bed will help you get some exercise after the hangover raging New Year's party. The Yoga Journal suggests doing certain gentle poses and movements so that the blood can circulate and move during the recovery process.

There are many movements like the cat cow pose or the corpse pose (we promise that it is not as depressing as it sounds). that requires little effort. And if you find that you feel bad rather than better in some sequences, you can always fall back on the child's posture and lie down on your yoga mat like a happy shell.

Even if you have never tried yoga If you do not have much experience, you may be wondering how good this form of exercise and relaxation is for your body. Yoga is certainly one of the best hangover treatments and can even help improve mood, even if you are not trying to get rid of a hangover.

Tips:

  • Try a YouTube video. If you are not familiar with yoga, you can find some instructional videos on YouTube to help you get started.
  • Do it with a friend. If you have trouble motivating yourself, invite a friend to do yoga with you. The camaraderie can help you keep going. Bonus points if your friend can help you learn new poses.
  • Read our Ultimate Yoga Guide. We have articles on yoga for beginners, yoga retreats, beer yoga (yes, there is beer yoga) and much more!

4.) Sleep

  girl sleeps a hangover "width =" 1200 "height =" 911

Since alcohol has some calming components, you can feel more relaxed. However, this only happens really in small or medium quantities. So if you drink a glass of wine or do the tequila shots, you will probably find it harder to fall asleep.

Because you are probably going to bed and sleeping in a ridiculous hour is one of the best cures for hangovers. If you plan to sleep by the first day of 2018, you can fall asleep the next morning with blackout curtains for your windows, and hopefully get rid of the throbbing headache.

Tips:

  • Use essential oils. Some essential oils can help you sleep better. Some of the most popular scents for more rest are lavender, sandalwood, bergamot and chamomile.
  • Good sleep products. Our list of gifts for the sleepless can help you find what you need to feel more rested. Or take a look at our best mattress guide to find what may be the most important part – what you sleep on every day!
  • Go to bed earlier. If you cannot sleep to get rid of the hangover, go to bed earlier that night. This way your body will feel rested after wearing it out the next morning after celebrating and trying hangover cures.

3.) Drink lots of water.

  You drink water to help with a hangover. "Width =" 1200 "height =" 903
Although you have drinks, alcohol actually makes you more dehydrated because it is diuretic, which explains why you feel that your bladder cannot hold much. These effects also lead to the toilet being used more frequently. All of the fluid loss in your body leads to headache, dizziness, and fatigue. However, if you drink water between cocktails or drink a little water with every shot, you won't feel the effects afterwards. Drinking water is one of the best hangover cures because you can start healing even before the hangover begins!

If you completely forget to ingest moisture during the celebrations, leave a large bottle of water like this S & # 39; well bottle near your bed. Make sure you have water near you. If you go to sleep before taking a sip, the water is at least not too far from you when you wake up with this splitting headache.

Tips:

  • Track your water intake. Write down whenever you drink a bottle of water, use an app or [amazon_textlink asin=’B077YYVQZ8′ text=’buy a water intake tracker’ template=’ProductLink’ store=’top50c30-20′ marketplace=’US’ link_id=’b4fefd76-03e3-11e9-8d03-5d214ef4c39f’]. This can help you determine if you need more fluid.
  • Have a drink as soon as you wake up. Even if you don't get stuck, you can feel awake and hydrated first thing in the morning.
  • Drink plenty of water on the day of a party. If you know you are going to a party or bar where you drink more than usual, try drinking more water during the day to prepare your body for the diuretic effects of the alcohol you drink later ,

2.) Take a few electrolytes

  Monkey eats banana "width =" 1200 "height =" 800
Electrolytes are some of the most important nutrients that keep us alive. And like water, they decrease sharply when we drink a lot of alcohol.

If you hug a toilet at the end of the night, you will lose large amounts of electrolytes. Aside from water, it's best to pump up these nutrients. This way, your body can recover from your celebrations more easily.

Coconut water is a great supplement that increases the electrolytes in your body. You can also consume bananas to charge the potassium. And if you are looking for a quicker solution than dipping into a fruit salad, you can take the route How To Be Single and go on the Pedialyte. If you want something less youthful, you can get some of these Nuun Hydration tablets.

Tips:

  • Try out more than one type of electrolyte preparation. You might discover a favorite you didn't know about if you only tried one or two options, or some types might work better for you if you are overwhelmed.
  • Have some ready. You never know when you need additional electrolytes. Keep something in your closet just in case. You may need to recover electrolytes if you have completed heavy training or have been in the hot sun for a while, so electrolyte supplements can be useful even if you are not dealing with a malignant hangover.

] 1.) Eat a nutritious breakfast

  Eating healthy is a great way to cure a hangover. "Width =" 1200 "height =" 900

Breakfast is the most important meal of the day. And after a night of alcohol, it's particularly critical. Eating is one of the most popular (and important) hangover cures. Regardless of whether you kissed the porcelain at the beginning of the year or not, refilling the nutrients that left your body throughout the party will make you feel better in the afternoon. But before you start digging into something that's in your fridge, you should consider what you eat before putting it in your mouth.

Though we crave burgers, pizza, and the fatty foods that are loaded with all the alcohol The fatty foods don't cure you of all of your morning illnesses – they're more of a temporary fix. And if you've already vomited, your stomach can no longer handle all the fat. Even if you've already tried fatty foods as hangover remedies, you'll be surprised at how much better you will feel if you try another option.

Instead, take more nutritious products. We are not saying that you have to take care of your health entirely, but think about the nutrients that your body is currently lacking. Amino acids in eggs help to rid the liver of alcohol toxins. Maybe make scrambled eggs, eat French toast or get a breakfast burrito. Chicken noodle soup may not be a breakfast meal, but it was good for sick days. So try it for the hangover too. However, if you need something lighter, you can't go wrong with crackers and jams.

Tips:

  • Buy groceries in advance. If you know you're going to drink and don't feel like eating healthy the next day, fill your fridge, freezer, or closet in advance with foods that you like to eat when you're overhanging. If you're not sure what you're going to do, there are several options you can choose to make it easy to find something that fits your stomach.
  • Use a grocery delivery service. Not prepared? Do you have anything good to hand? Use services like Doordash, Postmates, Grubhub or UberEats to find someone who brings delicious, nutritious food right to your door.

What are your best hangover remedies? Let us know on social media!

Next>

Top 5 Tips for Healing Your New Year's Cat   Top 5 Tips for Healing Your New Year's Cat

$ .fn.visible = function (partial) { To attempt { var $ t = $ (this), $ w = $ (window), viewTop = $ w.scrollTop (), viewBottom = viewTop + $ w.height (), _top = $ t.offset (). Top, _bottom = _top + $ t.height (), compareTop = partial === true? _down up, compareBottom = partial === true? _up down;

return ((compareBottom <= viewBottom) && (compareTop > = viewTop));

} catch (s) {} };

FireFBevent () function {

! Function (f, b, e, v, n, t, s) {if (f.fbq) return; n = f.fbq = function ()

{N.callMethod? n.callMethod.apply (n, arguments): n.queue.push (arguments)} ; if (! f._fbq) f._fbq = n; n.push = n; n.loaded =! 0; n.version = & # 39; 2.0 & # 39 ;; n.queue = []; t = b.createElement (e); t.async =! 0; t.src = v; s = b.getElementsByTagName (e) [0]; s.parentNode.insertBefore (t, s)} (window, document, & # 39; script & # 39 ;, & # 39; https: //connect.facebook.net/en_US/fbevents.js&#39); fbq (& # 39; init & # 39 ;, & # 39; 155838155208561 & # 39;); fbq (& # 39; trackSingleCustom & # 39 ;, & # 39; 155838155208561 & # 39 ;, & # 39; KWco & # 39;);

}

$ (& # 39; # container & # 39;). on (& # 39; click & # 39 ;, & # 39; a [href*="amazon"] a [rel="noopener"] a [href*="amzn.to"] & # 39 ;, function (e) { fireFBevent (); }); var activePage = 1;

/ * FACEBOOK RELATED TRACKING * /

$ (& # 39; a.aff-link & # 39;). each (function () {

$ (this) .click (clickOutHandler)

});

var pinterestButtons = function () {

$ (& # 39;. Entry content>. Content block> img,. Entry content> *> img,. Entry content. Content block img,. Entry content a> img & # 39;). each (function (i) {

var $ this = $ (this), url = $ this.attr (& # 39; src & # 39;);

if ($ this.hasClass (& # 39; pinned & # 39;)! = true && $ this.hasClass (& # 39; no-pin & # 39;)! = true && $ this.hasClass (& # 39; ntvAdChoicesImg & # 39;)! = True && $ this.hasClass (& # 39; affiliate -widget-img & # 39;)! = True && url.indexOf (& # 39; nextstory & # 39;) == -1 && url.indexOf (& # 39; SHOP-NOW & # 39;) == -1 && url.indexOf (& # 39; ntv.io & # 39;) == -1 && document.URL.indexOf (& # 39; Participant recommendation & # 39;) == -1) {

$ this.wrap (& # 39; & # 39;); $ (& # 39;. Image-wrap - & # 39; + i) .append (& # 39; 19659055] & # 39;); $ this.addClass (& # 39; pinned & # 39;). data (& # 39; pin-do & # 39;);

$ (& # 39;. Image-wrap - & # 39; + i + & # 39; .pinterest-button & # 39;). click (function () { $ .getScript ("// assets.pinterest.com/js/pinit_main.js", function () { PinUtils.build (); PinUtils.pinAny (); }); });

}

});

if (window.slideshowview == true && window.articlePage> 1) { var href = $ (& # 39 ;. content-next-page-link a & # 39;). attr (& # 39; href & # 39;); $ (& # 39;. Image-wrap-0 & # 39;). append (& # 39; Next> & # 39;) }

}

var queryStrings = getParams (window.location.href), appendString = & # 39; & # 39 ;;

Object.keys (queryStrings) .forEach (function (index) {

if (index == & # 39; utm_source & # 39;) { appendString + = & # 39; & s1 = & # 39; + queryStrings [index]; } otherwise if (index == & # 39; utm_medium & # 39;) { appendString + = & # 39; & s2 = & # 39; + queryStrings [index]; } else if (index == & # 39; utm_content & # 39;) { appendString + = & # 39; & s3 = & # 39; + queryStrings [index]; } else if (index == & # 39; utm_campaign & # 39;) { appendString + = & # 39; & s4 = & # 39; + queryStrings [index]; }

});

$ (& # 39; a & # 39;). each (function (i) {

var $ this = $ (this), $ href = $ this.attr (& # 39; href & # 39;), tempString = appendString;

To attempt {

if ($ href.indexOf (& # 39; greenwebbs.com & # 39;)> - 1) {

if ($ href.indexOf (& # 39; & s1 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s1 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s2 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s2 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s3 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s3 = & # 39 ;, & # 39; & # 39;); } if ($ href.indexOf (& # 39; & s4 = & # 39;)> - 1) { $ href = $ href.replace (& # 39; & s4 = & # 39 ;, & # 39; & # 39;); }

if ($ href.indexOf (& # 39;? & # 39;)> - 1) { $ href + = appendString; } otherwise { tempString = appendString.replace (& # 39; && # 39 ;, & # 39;? & # 39;); $ href + = tempString; }

$ this.attr (& # 39; href & # 39 ;, $ href);

}

} Catch (s) { //console.log($this); //console.log(e); }

});

setTimeout (function () {

// If there is a cookie for the gclid if (getCookie ("gclid")) { // Fill it in the required links gclidLinkPop (); }

}, 2500);

$ (& # 39 ;. bookmark-this & # 39;). click (function (e) { var bookmarkURL = window.location.href; var bookmarkTitle = document.title;

if (& # 39; addToHomescreen & # 39; in the window && addToHomescreen.isCompatible) { // Mobile browser addToHomescreen ({autostart: false, startDelay: 0}). show (true); } else if (window.sidebar && window.sidebar.addPanel) { // Firefox <= 22 window.sidebar.addPanel (bookmarkTitle, bookmarkURL, & # 39; & # 39;); } else if ((window.sidebar && /Firefox/i.test(navigator.userAgent)) || (window.opera && window.print)) { // Firefox 23+ and Opera <=14 $(this).attr({ href: bookmarkURL, title: bookmarkTitle, rel: 'sidebar' }).off(e); return true; } else if (window.external && ('AddFavorite' in window.external)) { // IE Favorites window.external.AddFavorite(bookmarkURL, bookmarkTitle); } else { // Other browsers (mainly WebKit & Blink - Safari, Chrome, Opera 15+) alert('Press ' + (/Mac/i.test(navigator.platform) ? 'Cmd' : 'Ctrl') + '+D to bookmark this page.'); } return false; }); $('.review-rail-pi').click(function(e){ e.preventDefault(); $.getScript("//assets.pinterest.com/js/pinit_main.js", function() { PinUtils.build(); PinUtils.pinAny(); }); }); $('.ad-disclosure > span & # 39;). Hover ( Function(){ $ (& # 39 ;. ad-disclosure-content & # 39;). addClass (& # 39; show & # 39;); }, Function(){ $ (& # 39 ;. ad-disclosure-content & # 39;). removeClass (& # 39; show & # 39;); } );

$ (& # 39;. Nav-hamburger & # 39;). click (function (s) {

/ * Hamburg menu * /

e.preventDefault (); $ (& # 39 ;. nav-search-box, .nav-search & # 39;). removeClass (& # 39; active & # 39;); $ (& # 39;. Nav-hamburger> button & # 39;). toggleClass (& # 39; is active & # 39;); $ (& # 39 ;. nav-menu & # 39;). toggleClass (& # 39; expand & # 39;);

})

$ (& # 39 ;. single a.maxbutton & # 39;). click (function (e) {

e.preventDefault ();

To attempt {

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Article - MaxButton & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) { console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. review-tab & # 39;). hover (function () { var $ this = $ (this); }, function () { var $ this = $ (this); });

$ (& # 39; reviews-main & # 39;). on (& # 39; click & # 39 ;, & # 39; .review-tab & # 39 ;, function (s) {

var $ this = $ (this);

$ (& # 39 ;. review-tab & # 39;). removeClass (& # 39; active & # 39;);

$ this.addClass (& # 39; active & # 39;);

var category_id = $ this.data (& # 39; categoryid & # 39;); $ (& # 39 ;. review-main & # 39;). hide ();

if (category_id == & # 39; all & # 39;) { $ (& # 39 ;. review-main & # 39;). show (); } otherwise { $ (& # 39 ;. review-main.category - & # 39; + category_id) .show (); }

});

$ (& # 39 ;. review-tabs & # 39;). css (& # 39; display & # 39 ;, & # 39; table & # 39;);

/ * Partner Events - Home * /

$ (& # 39; a.home-more-reviews & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage-More Reviews Button & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) { console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. home a.featured-product & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage-Top Expert Reviews Card & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. home .featured-product-left a & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent ("Affiliates", "Homepage-Top Expert Reviews Author", href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. home .featured-review & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Homepage Category Card & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

/ * Partner Events - Check Taxonomy Page - Organic * /

$ (& # 39; a.product-title & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-Title & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.more-reviews-top & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-More Reviews Top & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) { console.log (e); setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.product-logo-wrap & # 39;). click (function (e) { e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt { sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-Image & # 39 ;, href); setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) { console.log (e); setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. shop-now a & # 39;). click (function (s) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-Button & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; a.readmore & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-Read Reviews & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39; a.post-below-reviews & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Organic-Bottom Recirc & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39;. Top-review-details a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Reviews-Title - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. top-review-wrapper-left> a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Reviews-Thumbnail - & # 39; + product, pageUrl);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. top-review-wrapper a.read-review & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent ("Affiliates", "Reviews-Paid-Read Review Link", href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. top-review-wrapper a.shop-now & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Reviews-Button - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. rail-review-details a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Reviews-Rail-Title - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

}

});

$ (& # 39 ;. reviews-description a & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname, Product;

$ (& # 39;. Top-review-details a & # 39;). each (function (i) {

var $ a = $ (this), $ href = $ a.attr (& # 39; href & # 39;);

if ($ href == href) { Product = $ a.data (& # 39; product & # 39;); return wrong; }

});

To attempt {

sendGAEvent (& # 39; Partner click & # 39 ;, & # 39; Reviews-Text-Link - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39; a.rail-review-rating & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Reviews-Paid-Rail-Stars & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. rail-review-bottom-right a.read-review & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review-Paid-Rail-Read Review-Link & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. rail-review-bottom-right a.shop-now & # 39;). click (function (e) {

e.preventDefault ();

var $ this = $ (this), href = $ this.attr (& # 39; href & # 39;), newTab = $ this.attr (& # 39; target & # 39;), product = $ this.data (& # 39; product & # 39;), pageUrl = location.protocol + & # 39; // & # 39; + location.host + location.pathname;

To attempt {

sendGAEvent (& # 39; Affiliate-Click & # 39 ;, & # 39; Reviews-Rail-Shop Now Button - & # 39; + product, pageUrl);

fbq (& # 39; trackCustom & # 39 ;, & # 39; Aff Click & # 39 ;, { href: href, Product: product, pageUrl: location.protocol + & # 39; // & # 39; + location.host + location.pathname });

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500); }

});

$ (& # 39 ;. product-wrapper-wrap a.more-link-top & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review Page - More link top right & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. product-wrapper-wrap a.rank-view-more & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review Page - View More Rank & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. product-wrapper-wrap a.aff-product-buynow & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; Review Page - Buy Now Button & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. product-sidebar a & # 39;). click (function (e) {

e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent ("Affiliates", "Review Page - Sidebar Recirc", href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

/ * End partner events * /

$ (& # 39 ;. entry-content & # 39;). on (& # 39; click & # 39 ;, & # 39 ;. begin-slideshow-after & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = false;

To attempt {

sendGAEvent (& # 39; Begin Slideshow & # 39 ;, & # 39; Begin Slideshow - Lower & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

} Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. entry-content & # 39;). on (& # 39; click & # 39 ;, & # 39; .begin-slideshow-image & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (& # 39; href & # 39;), newTab = false;

To attempt {

sendGAEvent (& # 39; Start Slideshow & # 39 ;, & # 39; Start Slideshow - Image & # 39 ;, href);

setTimeout (function () { openInNewTab (href, newTab); }, 500); } Catch (s) {

console.log (e);

setTimeout (function () { openInNewTab (href, newTab); }, 500);

}

});

$ (& # 39 ;. nav-search & # 39;). click (function (s) {

/ * nav search * /

e.preventDefault ();

$ (& # 39;. Nav-hamburger> button & # 39;). removeClass (& # 39; is active & # 39;); $ (& # 39 ;. nav-menu & # 39;). removeClass (& # 39; expand & # 39;); $ (& # 39 ;. nav-search-box, .nav-search & # 39;). toggleClass (& # 39; active & # 39;);

if ($ (& # 39;. gsc-search-box & # 39;). css (& # 39; display & # 39;) == & # 39; none & # 39;) { $ (& # 39 ;. gsc-search-box & # 39;). show (); }

$ (& # 39 ;. nav-search-box .gsc-input & # 39;). focus ();

})

$ (& # 39 ;. Write-a-Review a & # 39;). Click (function (s) { e.preventDefault (); $ ("html, body"). animate ({scrollTop: $ (& # 39 ;. reviews-wrapper & # 39;). offset (). top}, 1000); sendGAEvent ("Affiliates", "Review Page - Write A Review Button", "Write A Review Button"); });

/ * Search field widget * /

$ (& # 39 ;. featured-search-input & # 39;). on (& # 39; input & # 39 ;, function (s) {

e.preventDefault (); $ (& # 39 ;. search-category & # 39;). removeClass (& # 39; show & # 39;); var val = $ (& # 39 ;. featured-search-input & # 39;). val (). toLowerCase ();

if (val == &#39;&#39;) {

$ (&#39;. search-category&#39;). each (function (i) { var $ this = $ (this); if ($ this.hasClass (&#39;featured&#39;)) { $ (this) .addClass (&#39;show&#39;); } });

} sonst {

var i = 1; $ (&#39;. search-category&#39;). each (function () { var text = $ (this) .html (). toLowerCase (); if (text.indexOf (val)> -1) { if (i <10) { $ (this) .addClass (&#39;show&#39;); } i ++; } });

}

})

$ (&#39;. Featured-Search-Eingabe&#39;). Tastendruck (Funktion (e) { if (e.which == 13) { var val = $ (&#39;. featured-search-input&#39;). val (); $ (&#39;. nav-search-box .gsc-input&#39;). focus (); $ (&#39;. nav-search-box .gsc-input&#39;). val (val); $ (&#39;. nav-search-box&#39;). addClass (&#39;overlay&#39;); $ (&#39;. gsc-search-button&#39;). click (); falsch zurückgeben; } });

$ (&#39;. rev-desc-read-more&#39;). click (Funktion (e) {

e.preventDefault ();

var $ reviews = $ (&#39;. reviews-description&#39;), $ readmore = $ (&#39;. rev-desc-read-more&#39;);

$ reviews.toggleClass (&#39;expand&#39;);

if ($ readmore.html () == &#39;Weiterlesen&#39;) { $ readmore.html (&#39;Weniger lesen&#39;); } sonst { $ readmore.html (&#39;Lesen Sie mehr&#39;); $ ("html, body"). animate ({scrollTop: 0}, 500); }

sendGAEvent (&#39;Affiliates&#39;, &#39;Reviews-Organic&#39;, &#39;Read More Button&#39;);

});

$ (&#39;. Bewertungen-Wrap. Produkt-Auszug p, .aff-Produkt-Zusammenfassung p&#39;). Filter (Funktion () { return this.innerHTML == &#39;&#39;; }).entfernen();

// Leere

Tags entfernen $ (&#39;. entry-content p&#39;). each (function () { var $ this = $ (this); if ($ this.html (). replace (/ s | / g, &#39;&#39;) .length == 0) $ this.remove (); });

// Shortcodes auf der nächsten Seite entfernen, die sich in

-Tags befinden $ (&#39;. entry-content h2 .content-next-page-link&#39;). detach (). appendTo (&#39;. entry-content&#39;);

// Versuch, alte &#39;Next Story&#39;-Buttons zu entfernen var removeNextStory = function () { $ (&#39;. entry-content a&#39;). each (function () { var $ this = $ (this); if ($ this.html (). indexOf (&#39;nextstory&#39;)> - 1) { $ this.remove (); } });

$ (&#39;. entry-content img&#39;). each (function () { var $ this = $ (this); if ($ this.attr (&#39;src&#39;). indexOf (&#39;nextstory&#39;)> - 1) { $ this.remove (); } });

}

$ (&#39;. nav-share-fb&#39;). click (Funktion (e) { e.preventDefault (); window.open ($ (this) .attr (&#39;href&#39;), &#39;fbShareWindow&#39;, &#39;height = 450, width = 550, top =&#39; + ($ (window) .height () / 2 - 275) + &#39;, left = &#39;+ ($ (window) .width () / 2 - 225) +&#39;, Symbolleiste = 0, Position = 0, Menüleiste = 0, Verzeichnisse = 0, Bildlaufleisten = 0 &#39;); falsch zurückgeben; });

if ($ (&#39;. next-post-link&#39;). length> 0 && window.dualsidebar! = true) { $ (&#39;head&#39;). append (&#39;

&#39;) }

$ (window) .scroll (function () {

/ * START SCROLL * /

var st = $ (window) .scrollTop ();

if (window.slideshowview! = true && window.slideshowview2! = true && window.width> 767) {

if (st> 200 && window.navScrolled! = true) { $ (&#39;. navbar&#39;). addClass (&#39;fixed&#39;); setTimeout (function () {$ (&#39;. navbar&#39;). addClass (&#39;visible&#39;)}, 300); window.navScrolled = true; window.navScrolled2 = false; }

if (st < 80 && window.navScrolled2 != true) { $('.navbar').removeClass('visible') $('.navbar').removeClass('fixed'); window.navScrolled = false; window.navScrolled2 = true; } } if (window.home) { if (window.width > 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (&#39;. home-featured-articles&#39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (&#39;. home-featured-right&#39;). addClass (&#39;nostick&#39;). css (&#39;height&#39;, windowHeight) } sonst { $ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;100%&#39;); }

} sonst {

$ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;450px&#39;);

}

}

/ * END SCROLL * /

})

$ (window) .resize (function () {

/ * START RESIZE * /

if (window.home) {

var st = $ (window) .scrollTop (); window.width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;

if (window.width> 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (&#39;. home-featured-articles&#39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (&#39;. home-featured-right&#39;). addClass (&#39;nostick&#39;). css (&#39;height&#39;, windowHeight) } sonst { $ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;100%&#39;); }

} sonst {

$ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;450px&#39;);

}

}

/ * END RESIZE * /

});

if (window.home) {

var st = $ (window) .scrollTop (); window.width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;

if (window.width> 1023) {

var windowHeight = $ (window) .height (); var sectionHeight = $ (&#39;. home-featured-articles&#39;). height () - (windowHeight-381); if (st> sectionHeight) { $ (&#39;. home-featured-right&#39;). addClass (&#39;nostick&#39;). css (&#39;height&#39;, windowHeight) } sonst { $ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;100%&#39;); }

} sonst {

$ (&#39;. home-featured-right&#39;). removeClass (&#39;nostick&#39;). css (&#39;height&#39;, &#39;450px&#39;);

}

}

});
Source link