قالب وردپرس درنا توس
Home / Best Lists / These are the 5 most important iPhone apps on the go

These are the 5 most important iPhone apps on the go



Some of us are urban or rural hoppers, others prefer to jump the big ponds to better and more exotic locations. No matter where you go or what you do, your phone is an important tool for getting around and ensuring the smooth flow of your journey when traveling alone or in a group, from translating to another language or organizing your entire life Travel. Traveling around the world with your fingertips makes travel more stress-free and full of exciting activities.

Here are the main iPhone apps for traveling.

5.) Google Translate [1
9659007] google translate app "width =" 1000 "height =" 667 “/>

BigTunaOnline / Shutterstock

Learning a new language before you travel can be overwhelming. You may have limited time to learn the language, or travel to different countries and have no time to learn the pros and cons of each language.

This is Google Translate. This voice application can translate more than 100 languages ​​and multiple languages ​​when you are offline. Do not forget to download the language you want to translate.

How It Works

There are many useful features for this app that have been in development for a long time.

If You Want When trying to read a word or phrase in another language, this may be overwhelming because you do not know what it says. There is a function that is a constant camera translation . Move the camera over the text and it will be translated automatically. Currently the instant camera translation is available in 38 languages.

Two-Way Instant Translations are another useful tool on the go. They are available in 32 languages. Google is adding more languages ​​over time.

You can also draw characters instead of using the keyboard in 93 languages. Once your text is translated, you can easily copy the translation using the app and share it on social media, text, or WhatsApp so you can communicate with people at your destination before you arrive.

There is also a function if you can Save your favorite translations in a phrasebook for future use.

Finally, there is a play mode where the app can talk to you. This is especially helpful if you can not pronounce the translated text correctly.

Price: Free

Download Google Translate

4.) Boingo Wi – Finder

  boingo wi - finder "width =" 1000 "height =" 667

FOOTAGE VECTOR PHOTO / Shutterstock

Some travel for pleasure while others travel for business. In any case, you want to stay connected to the world while traveling.

You would like to publish pictures, write a short e-mail or surf the Internet at the same time. But sometimes you do not want to waste your cell phone data or turn off your laptop while connected to the internet. Here is Boingo Wi-Finder.

It has more than 1 million hotspots worldwide. These locations include airports, hotels, restaurants, cafes and more.

You may be looking for a Wi-Fi hotspot to update your apps on the go. Wifi may be important to you to update your travel journal and photos, or to write home or make a video call. In any case, Boingo Wi-Finder will help you find hotspots.

How It Works

You can find hotspots in your area and around the world by downloading maps that you can use offline while traveling. You can check the Wi-Fi speed at the Boingo hotspots. Update your speed with a subscription through the Wi-Fi app.

You can make sure you get the best connection at all times. You'll see green (certified trusted / high quality connections), yellow (trusted hotspots), or red hotspots (unverified and untrusted spots) that you can connect to. Boingo even monitors your phone's data usage, connects you to VPN security, and gives you a list of known community hotspots to make finding a trusted location even more painless.

A good and simple user interface makes Boingo even more spectacular. We found out that Boingo was also an important app in our arsenal for city breaks.

Price: The app is free, but the subscription costs $ 9.99

. Download Boingo Wi Finder

3.) FlightAware

  flightaware "width =" 1000 "height =" 682

amirraizat / Shutterstock

When traveling, it is probably most important to take your flight follow. Delays and cancellations are no fun, especially if you have a destination that you need to have on time. This is where the App FlightAware comes into play on your iPhone.

This is a simple yet good-looking app that does exactly what it needs and nothing else: tracking flights. With this app you can track public flights worldwide and even private planes in the US and Canada.

Regardless of whether you are traveling or traveling frequently, this app changes the way you fly.

Does it work?

Using the airport code, flight number, airline or itinerary, as well as some less frequently used search options, FlightAware displays the flights via radar on a map. It also displays full details of the flight you're following and sends push notifications about gate changes and late flights.

The data transmitted through FlightAware is typically a 30-second real-time delay. The maps are animated to set the aircraft position to the last known position. It is an aircraft position on the map can delay 1-2 minutes of real time.

Price: Free

Download FlightAware

2.) WhatsApp

  WhatsApp "width =" 1000 "height =" 667

Ink drops / Shutterstock

If you are using your mobile network in If you travel to another country where you do not make international calls, WhatsApp becomes the main application for your iPhone apps. When you connect with your family and friends, all you have to do is text or phone.

How does it work?

Without a doubt, WhatsApp saves you the most money. As long as you are somewhere with a WiFi connection or your data, you can use WhatsApp.

It is a great messaging service app that travelers can use. It is praised by many because it is used for little data, and it is the best option to leave the county. It works like most messaging apps: create an account, add your contacts, and you're done!

You can make calls to anyone in your contacts, video chat, send messages, send voice notes, and send files. To stay connected, you can download the app to your computer!

Price: Free

Download WhatsApp

1.) Tripit

  tripit app "width =" 1000 "height =" 667

FOOTAGE VECTOR PHOTO / Shutterstock

Organizing a Travel can be difficult as so many moving parts come into play. There are so many different itineraries and documents you need, and it is best to have everything in one place before leaving the journey.

That's why TripIt can help you travel to different places!

How does it work?

Tripit is the ultimate app for travel arrangements and tour operators.

Travel reservations usually require airline tickets, car rentals, hotel arrangements, etc. With these come a series of email routes and confirmations. Whether you're visiting Disneyland or visiting an opera in Hong Kong, all of your emailed documents can be organized through the Tripit app.

Once you've launched the app, you can easily organize it into a list by time and date. It's even better if you can monitor your flight status, receive alerts on cheap flights, and email your travel itineraries to others.

Price: Free

Download Tripit

No matter where you go and whether you have an international data plan or not, these iPhone apps make traveling, organizing and organizing smoother. Do not forget to download it before your next trip.

  5 indispensable iPhone apps to go "width =" 1024 "height =" 576

Next>

Top 5 tips for ridiculously cheap flights   Top 5 tips for ridiculously cheap flights

}

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

/ * FACEBOOK-CONNECTED TRACKING * /

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

$ (this) .click (clickOutHandler)

});

var pinterestButtons = function () {

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

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

if ($ this.hasClass (? pinned?)! = true && this.hasClass (? no-pin?)! = true && $ this.hasClass (& 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 (& ntv.io & # 39;) == -1 && document.URL.indexOf (& # 39; 39; subscriber recommendation & # 39; == -1) {

$ this.wrap (& # 39; & # 39;); $ (& # 39; image-wrap - & # 39; + i) .append (& # 39; & # 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 (? href?); $ (& # 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 == & utm_source & # 39;) { appendString + = & # 39; & s1 = & # 39; + query strings [index]; } otherwise if (index == & utm_medium & # 39;) { appendString + = & # 39; & s2 = & # 39; + query strings [index]; } otherwise if (index == & utmp_content & # 39;) { appendString + = & # 39; & s3 = & # 39; + query strings [index]; } otherwise if (index == & utmp_campaign & # 39;) { appendString + = & # 39; & s4 = & # 39; + query strings [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;); $ 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")) { // put 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;); } );

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

/ * Hamburger menu * /

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

})

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

e.preventDefault ();

To attempt {

var href = $ (this) .attr (? href?), 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 - Homepage * /

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

e.preventDefault ();

var href = $ (this) .attr (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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 (? href?), 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; Review 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 ;, 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 (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent ("Affiliates", "Review-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 ;, Rail-Title Review - & # 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 it incorrectly; }

});

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 (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 39 ;, & # 39; 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 (? href?), 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; 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 (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 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 (? href?), 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 (? href?), newTab = $ (this) .attr (& # 39; target & # 39;);

To attempt {

sendGAEvent (& # 39; Affiliates & # 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 (? href?), 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 ;, begin-slideshow-after & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (? href?), newTab = false;

To attempt {

sendGAEvent (& # 39; Begin Slideshow & # 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;, begin-slideshow-image & # 39 ;, function (s) { e.preventDefault ();

var href = $ (this) .attr (? href?), 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;); $ (& Nb; nav-menu & # 39;). removeClass (& # 39; expand & # 39;); $ (# Nav-search-box, .nav-search #). toggleClass (& # 39; active & # 39;);

if ($ (# gsc-search-box #). css (# display #) == # none #) { $ (& Gt; 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 Box 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; search-category & # 39;). each (function (i) { var $ this = $ (this); if ($ this.hasClass (& # 39; featured & # 39;)) { $ (this) .addClass (& # 39; show & # 39;); } });

} otherwise {

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 input & # 39;). Keystroke (function (s) { 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 (& ngr; overlay & # 39;); $ (& Gt; gsc-search-button & # 39;). click (); return it incorrectly; } });

$ (& # 39; rev-desc-read-more & # 39;). click (function (s) {

e.preventDefault ();

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

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

if ($ readmore.html () == & # 39; continue reading & # 39;) { $ readmore.html (& # 39; read less & # 39;); } otherwise { $ readmore.html (& # 39; read more & # 39;); $ ("html, body"). animate ({scrollTop: 0}, 500); }

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

});

$ (& # 39;. Reviews wrap. Product abstract p, .aff product summary p & # 39;). Filter (function () { return this.innerHTML == & # 39; & # 39 ;; }).Clear();

// Remove empty

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

// Remove shortcodes on the next page that are in

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

// try to remove old & # 39; Next Story & # 39; buttons 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 (# src #). indexOf (# nextstory #)> - 1) { $ this.remove (); } });

}

$ (& Nbsp; nav-share-fb & # 39;). click (function (s) { e.preventDefault (); window.open ($ (this) .attr (? href?),? fbShareWindow?,? height = 450, width = 550, top = & # 39; + ( $ (window) .height () / 2 - 275) + & # 39 ;, left = & # 39; + ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, Position = 0, menu bar = 0, directories = 0, scroll bars = 0 & # 39;); return it incorrectly; });

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 () {$ (# navbar #) 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 (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

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

}

}

/ * 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 (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

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

}

}

/ * 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 (? nostick?). css ('height', windowHeight) } otherwise { $ (& # 39; home-featured-right & # 39;). removeClass (? nostick?). css ('height & # 39 ;, & # 39; 100% & # 39;); }

} otherwise {

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

}

}

});
Source link