Home / Best Lists / Famous Faces: The Top 5 Celebrity Doppelgänger

Famous Faces: The Top 5 Celebrity Doppelgänger



Sometimes you look at a celebrity and say, "God, who does this person remember?" In the case of Lindsay Lohan, it could take days to find out. It looks exactly like this old piece of luggage in the loft. Or you'll spend hours on Dr. Oz rushes before he clicks, he looks very much like Satan looks in your nightmares. Sometimes it just clicks, and at other times you need someone to point that out. Here we come into play.

While we can not analyze exactly why Dr. Oz appears in your dreams as the devil himself, so we can help you spot some famous faces that will remind you of someone else you might know

These are the five scariest celebrity doppelgangers:

5. ) Adrien Brody (The Pianist) and Snoop Dogg (Rapper)

<img class = "aligncenter size-full wp-image-29922" title = "celebrity-doppelganger-adrien-brody-and-snoop-dogg" src = "https://www.top5.com/wp-content/uploads/201

3/02/celebrity-doppelganger-adrien-brody-and-snoop-dogg.jpg" alt = "Celebrity doppelganger adrien brody and snoop dogg" width = "600" height = "400" srcset = "https://www.top5.com/wp-content/uploads/2013/02/celebrity-doppelganger-adrien-brody-and-snoop-dogg.jpg 600w, https: // www.top5.com/wp-content/uploads/2013/02/celebrity-doppelganger-adrien-brody-and-snoop-dogg-300×200.jpg 300w "sizes =" (max-width: 600px) 100vw, 600px [19659008] Adrien Brody is more than just an actor, philanthropist and Gillette Ra Knife Pitchman; He also plays at children's parties as rapper Snoop Dogg. Anyone who has ever said that a white man and a black man can not look exactly alike has obviously never considered these two accurately enough. The fact is, if you painted them both purple, you would be pretty hard to find who is who. The secret here? It's all in this over-relaxed, "I just smoked three blunts in ten minutes" eyes they share.

We know what you think: it's just the facial hair! These men are not really like each other. Although the sneaky zigzags they run channel a similar Do-Well spirit, look a little closer, and you'll see how similar their features actually are. We believe that everything is in the nose. Both Brody and Snoop have an ugly / hot mood that adds to their mystery and charisma. Probably both men have had careers in their respective areas for so long.

$ (& # 39; body & # 39;). addClass (& # 39; view-listview & # 39;). removeClass (& # 39; view-slideshow & # 39;);

if ($ (& # 39; next-post-link & # 39;). Length> 0) { $ (& # 39; head & # 39;). append (& # 39;

& # 39 ;;); $ (& # 39;. Content-next-page-link & # 39;). remove (); }

$ (& # 39;. Content-block-sticky & # 39;). hcSticky ({ stickTo: & # 39; .content-block-1 & # 39 ;, above: 90, reacting: true, off Resolutions: [-768] })

if (window.sponsored! = true) {

if (window width> = 768) {

/ * DESKTOP * /

/ * Lazy load after the first image / iframe in each page block * / / * If there is no picture / iframe in the page block, add after the second paragraph * /

var count = 0;

$ (& # 39;. Content-block - & # 39; + window.pageCount + & # 39; .content-block-main img, .content-block - & # 39; + window.pageCount + & # 39; .content-block-main iframe, .content-block - & # 39; + window.pageCount + & # 39; .instagram-media & # 39;). each (function (i) {

if (i == 0) {

$ (this) .after (& # 39;

& # 39;);

}

count ++;

});

if (number == 0) {

$ (# Content-block - # window + pageCount + # content-block-main p #) each (function (i) { if (i == 1) {

$ (this) .after (& # 39;

& # 39;);

} })

}

}

/ * Nativo - after the first paragraph * /

$ (& # 39;. Content-block-main> p & # 39;) each (function (i) { if (i == 0) { $ (this) .after (& # 39;

& # 39;);

setTimeout (function {) {

/ * Nativo in the article * / PostRelease.Start ({ptd: [1074012]});

}, 1000);

} });

} / * The End! Sponsored * /

var getNextPostPage = function () {

$ (& # 39;. Content-next-page-link a & # 39;). each (function () {

var $ this = $ (this), nextprev = $ this.html (). toLowerCase (), URL;

if (nextprev.indexOf (& # 39; next & # 39;)> -1) {

url = $ this.attr (& # 39; href & # 39;);

$ .ajax ({ Type: & # 39; GET & # 39 ;, url: url, dataType: & # 39; html & # 39 ;, Success: Function (Data) {

To attempt {

$ (& # 39; # nativo-inarticle & # 39;) .attr (& # 39; id & # 39 ;, & # 39; & # 39;);

/ * $ (& # 39;. Entry-content & # 39;). append (& # 39;

& # 39;);

setTimeout (function {) {

jitaJS.que.push (function () {

jitaJS.rtk.refreshAdUnits (['/41299669/top5_mobile_native_inf', 'unruly_ad_'+window.pageCount]);

true);

}, 50) * /

var newPage = $ (data), content = newPage.find (& # 39;. entry-content & # 39;);

/ * Remove next page button and load icon on the current page * /

$ (& # 39;. Content-next-page-link & # 39;). remove (); $ (& # 39;. Loading-icon & # 39;). remove ();

/ * Add new page * /

$ (& # 39;. Entry-content & # 39;). append (content.html ());

trimEmptyParagraphTags ();

/ * Enable sticky sidebar * /

if (window width> = 768) {

$ (& # 39; Content Block Sticky - & # 39; + window.pageCount) .hcSticky ({ stickTo: & # 39; .content-block - & # 39; + window.pageCount, above: 90, reacting: true, off Resolutions: [-768] })

}

if (window.sponsored! = true) {

/ * RENDER ADS * /

if (window width> = 768) {

/ * DESKTOP * /

/ * Lazy load after the first image / iframe in each page block * / / * If there is no picture / iframe in the page block, add after the second paragraph * /

var count = 0, faulAd = window.lazyAd;

$ (& # 39;. Content-block - & # 39; + window.pageCount + & # 39; .content-block-main img, .content-block - & # 39; + window.pageCount + & # 39; .content-block-main iframe, .content-block - & # 39; + window.pageCount + & # 39; .instagram-media & # 39;). each (function (i) {

if (i == 0) {

$ (this) .after (& # 39;

& # 39;);

}

count ++;

});

if (number == 0) {

$ (# Content-block - # window + pageCount + # content-block-main p #) each (function (i) { if (i == 1) {

$ (this) .after (& # 39;

& # 39;);

} })

}

} otherwise {

/ * MOBILE PHONE, MOBILE PHONE * /

/ **** Show ads **** /

/ * Display after each image / iframe in each page block (Limit 2) * / / * If there is only one image / iframe in the page block, append the second after the second paragraph. * / / * If there are no frames / iframes in the page block, hang after the first and second paragraphs * / / * If there are 3 paragraphs or more, Lazy Load after the third paragraph (TBD) * /

var count = 0;

$ (& # 39;. Content-block - & # 39; + window.pageCount + & # 39; .content-block-main img, .content-block - & # 39; + window.pageCount + & # 39; .content-block-main iframe, .content-block - & # 39; + window.pageCount + & # 39; .instagram-media & # 39;). each (function (i) {

if (i <2) {

$ (this) .after (& # 39;

& # 39;);

}

count ++;

})

if (number == 0) {

$ (# Content-block - # window + pageCount + #content-block-main> p #). each (function (i) {

if (i <2) {

$ (this) .after (& # 39;

& # 39;);

}

})

} otherwise if (number == 1) {

$ (# Content-block - # window + pageCount + #content-block-main> p #). each (function (i) { if (i == 1) {

$ (this) .after (& # 39;

& # 39;);

} })

}

/ * If there are 3 paragraphs or more, lazy load after the third paragraph $ (# Content-block - # window + pageCount + # content-block-main p #) each (function (i) {

if (i == 2) {

$ (this) .after (& # 39;

& # 39;);

window.loadLazy = true;

}

count ++;

}); * /

}

/ * Nativo - after the first paragraph * /

$ (# Content-block - # window + pageCount + #content-block-main> p #). each (function (i) {

if (i == 1) {

$ (this) .after (& # 39;

& # 39;); setTimeout (function {) {

/ * Nativo in the article * / PostRelease.Start ({ptd: [1074012]});

}, 1000)

}

})

setTimeout (function {) {

jitaJS.que.push (function () {

console.log ("-----> rendering bids from bid cache");

var adObj = {};

window.adIds.forEach (function (s) { adObj [e] = e + & # 39; _ & # 39; + window.pageCount; });

jitaJS.rtk.regenerateUPID (); jitaJS.rtk.refreshAdUnits (window.adIds, false, adObj);

}, not correct);

}, 500)

}

/ * Render Instagram embeds * /

if (content.html (). indexOf (& # 39; instagram & # 39;)> - 1) { window.instgrm.Embeds.process (); }

/ * Remove old & # 39; Next Story & # 39; Buttons and blank

tags * /

removeNextStory ();

/ * Pinterest buttons * /

pinterestButtons ();

/ * Show new page * /

setTimeout (function {) {

$ (& # 39;. Content-block & # 39;). addClass (& # 39; show & # 39;);

10)

setTimeout (function {) {

window.nextFlag = false;

}, 1000);

/ * Only Dev * /

// checkImages ();

/ * Register pageview * / To attempt{ // if (Cookiebot.consent.statistics) { ga (& # 39; send & # 39 ;, & # 39; pageview & # 39;); //} } Catch (s) { console.log (e) }

/ * Remove loading animation on the last page * /

setTimeout (function {) {

if ($ (& # 39; next-post-link & # 39;). Length> 0) { $ (& # 39; head & # 39;). append (& # 39;

& # 39 ;;); $ (& # 39;. Content-next-page-link & # 39;). remove (); }

2000)

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

}

});

}

} otherwise if (window.slideshowview) {

$ (& # 39; unruly-wrapper & # 39;). remove ();

if (window.width> = 768) {// Desktop

$ (& # 39;. Content Block Sidebar # RTK_e0Mo & # 39;). remove (); $ (& # 39; Content Block Sidebar # RTK_sM4T & # 39;). remove ();

$ (& # 39;. Leaderboard-downarticle> div & # 39;) .attr (& # 39; id & # 39 ;, RTK_XxTK & # 39;); $ (& # 39;. Leaderboard Underarticle & # 39;). append (& # 39;

& # 39;);

/ * RTK - Display according to the picture presented (page 1) or content * /

if (window.articlePage == 1) {

$ (& # 39;. Featured-img-wrap & # 39;). afterwards (& # 39;

& # 39;);

} otherwise {

$ (& # 39;. Content-block - & # 39; + window.articlePage) .prepend (& # 39;

& # 39;);

}

/ * $ (& # 39;. Content-block-main> p & # 39;) each (function (i) {

if (i == 0) {

$ (this) .before (& # 39;

& # 39;);

}

}); * /

/ * Nativo - over the next button * /

// if (window.articlePage> 1) {

//$(&#39;.content-next-page-link&#39;).before(&#39;

& # 39 ;;);

// setTimeout (function () {

/ * Nativo in the article * / //PostRelease.Start(****: [1074012]});

//}, 1000)

//}

/ * Unrully DFP & Mobile Adhesion * /

//window.rtkGPTExtraSlots = [{ slotId: '/41299669/top5_mobile_native_inf', sizes: [[1, 1][300, 250][300, 100][300, 50][300, 31][320, 100][300, 600][320, 50][300, 75]] divId: & # 39; unruly_ad & # 39;}, {slotId: & # 39; / 41299669 / top5_1x1 & # 39 ;, sizes: [[1, 1]] divId: & 39; mobile -adhäsion & # 39}];

window.rtkGPTExtraSlots = [{slotId:&#39;/41299669/top5_1x1&#39;sizes:[[1, 1]] divId: & # 39; mobile-adhesion & # 39;}];

} otherwise {// mobile

/ * Mobile Adhesion and DFP Mobile 3 * /

//window.rtkGPTExtraSlots = [{slotId:&#39;/41299669/top5_1x1&#39;ssizes:[[1, 1]] divId: & # 39; mobile-Adhesion & # 39;}, {slutId: & # 39; / 41299669 / top5_mobile_3 & # 39 ;, sizes: [[300, 50][300, 100][336, 280][320, 50][300, 600][300, 75][300, 250]] divId: & # 39; top5-mobile3 & # 39;}];

window.rtkGPTExtraSlots = [{slotId:&#39;/41299669/top5_1x1&#39;sizes:[[1, 1]] divId: & # 39; mobile-adhesion & # 39;}];

/ * RTK YZAM - content above - mobile1 * / $ (& # 39;. Entry-content> .content-block & # 39;). prepend (& # 39;

& # 39;);

/ * RTK VBhw - above the next button - mobile2 * / $ (& # 39;. Content-next-page-link & # 39;) before (& # 39;

& # 39;);

$ (& # 39;. Content-block-main> p & # 39;) each (function (i) {

/ * Nativo - "nativo-inarticle" after the first paragraph * /

if (i == 0) {

$ (this) .after (& # 39;

& # 39;);

// setTimeout (function () {

//PostRelease.Start(****: [1074012]});

//}, 1000)

}

/ * Mobile top5_mobile_1 - after the 1st paragraph * /

/ * if (i == 0) {

$ (this) .after (& # 39;

& # 39;);

} * /

});

}

// if (Cookiebot.consent.marketing) {

var script = document.createElement (& # 39; script & # 39;); script.type = & # 39; text / javascript & # 39 ;;

if (window width> = 768) {

script.src = & # 39; https: //delivery.top5.com/fwsh/jita.js? dfp = 1 & # 39 ;; } otherwise {

script.src = & # 39; https: //delivery.top5.com/S8I9/jita.js? dfp = 1 & # 39 ;; }

script.async = true; script.defer = true; document.getElementsByTagName (& # 39; head & # 39;) [0] .appendChild (script);

//}

if (window width> = 768) {

$ (& # 39; sidebar-wrap & # 39;). hcSticky ({ stickTo: & # 39; # inner content & # 39 ;, above: 90, reacting: true, off Resolutions: [-767] })

}

$ (& # 39;. Content-next-page-link, .content-next-post-link & # 39;). je (function () {

var $ this = $ (this), url = $ this.attr (& # 39; href & # 39;) + & # 39; top1 & # 39 ;;

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

if ($ this.html (). indexOf (& # 39; back & # 39;)> - 1) { $ this.remove (); } otherwise { $ this.addClass (& # 39; show & # 39;); }

})

}

/ * Nativo * /

var script = document.createElement (& # 39; script & # 39;); script.type = & # 39; text / javascript & # 39 ;; script.src = "http://s.ntv.io/serve/load.js"; script.async = true; document.getElementsByTagName (& # 39; head & # 39;) [0] .appendChild (script);

setTimeout (function {) {

/ * AIR.TV * /

// if (Cookiebot.consent.marketing) {

var script = document.createElement (& # 39; script & # 39;); script.type = & # 39; text / javascript & # 39 ;; script.src = & # 39; https: //embed.air.tv/v1/twoview_bootstrap.js? organization = RfaGomQFQ8qYmWfh5oX7PQ & # 39 ;; script.async = true; document.getElementsByTagName (& # 39; head & # 39;) [0] .appendChild (script);

//}

pinterestButtons ();

}, 3000)

/ * Content.AD setTimeout (function {) {

(Function (d) { var params = { ID: "5e22aa05-58c0-4d20-9512-e0e7ac122b3f", d: "dG9wNS5jb20 =", wid: "506795", cb: (new date ()). getTime () }; var qs = Object.keys (parameter) .reduce (function (a, k) {a.push (k + # 39; + encodeURIComponent (params [k])); return a}, []). join (String .by CharCode (38)); var s = d.createElement (& # 39; script & # 39;); s.type = & # 39; text / javascript & # 39 ;; s.async = true; var p = & # 39; https: & # 39; == Document.Path.Protocol? "https": "http"; s.src = p + ": //api.content-ad.net/Scripts/widget2.aspx?" + qs; d.getElementById ("contentad506795"). appendChild (s); })(document);

}, 7000) * /

/ * FACEBOOK AFFILIATE TRACKING * /

$ (& # 39; a.aff-link & # 39;). everyone (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 (# src #);

if ($ this.hasClass (? pinned?)! = true && $ this.hasClass (? no-pin?)! = true && $ this.hasClass (& ntvAdChoicesImg &! # 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; companion 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 (); }); });

}

});

}

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

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

} Catch (s) {} };

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

/ * Hamburger menu * /

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

})

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

/ * search nav * /

e.preventDefault ();

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

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

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

})

/ * 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;). je (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 (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 (? overlay?); $ (& Gt; gsc-search-button & # 39;). click (); return it incorrectly; } });

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

e.preventDefault ();

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

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

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

});

$ (& # 39; review-wrap .product-abstract p, .aff-product-summary p & # 39;). filter (function {) { return this.innerHTML == & # 39; & # 39 ;; }).Clear();

var trimEmptyParagraphTags = function () { $ (& # 39;. Entry-content p & # 39;). filter (function () { return this.innerHTML == & # 39; & # 39 ;; }).Clear(); }

trimEmptyParagraphTags ();

// Remove the next page shortcodes that are inside

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

// Attempt to remove the Next Story buttons var removeNextStory = function () { $ (& # 39;. Entry-content a & # 39;). je (function () { var $ this = $ (this); if ($ this.html (). indexOf (& # 39; nextstory & # 39;)> - 1) { $ this.remove (); } });

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

}

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

if ($ (& # 39; next-post-link & # 39;). Length> 0) { $ (& # 39; head & # 39;). append (& # 39;

& # 39; }

$ (Window) .scroll (function {) {

/ * START SCROLL * /

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

if (st> 200 && window.navScrolled! = true) { $ (& # 39;. Navbar & # 39;). addClass (& # 39; fixed & # 39;); setTimeout (function () {$ (# navbar #) addClass (# visible;)}, 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; 100% & # 39;); }

} otherwise {

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

}

}

if (window.list_view) {

if ($ (& # 39;. content-next-by-table & # 39;). visible () == true) {

$ (& # 39;. Content-next-post-table & # 39;). addClass (& # 39; show & # 39;);

}

if ($ (& # 39;. loading-icon & # 39;) visible () == true && window.nextFlag! = true) {

window.pageCount ++; getNextPostPage (); window.nextFlag = true;

}

}

/ * 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; 100% & # 39;); }

} otherwise {

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

}

}

/ * END RESIZE * /

});

/ *

$ (& # 39; fb-link & # 39;). click (function (s) {

e.preventDefault (); window.open (& # 39; http: //www.facebook.com/sharer/sharer.php? u = & # 39; + window.postURL, & # 39; fbShareWindow & # 39; height = 450, width = 550, top = & # 39; + ($ (window) .height () / 2 - 275) + & # 39; left = & # 39; + ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, location = 0, menu bar = 0, directories = 0, scroll bars = 0 & # 39;); return it incorrectly;

});

$ (& # 39; tw-link & # 39;). click (function (s) {

e.preventDefault (); window.open (& # 39; https: //twitter.com/share? url = & # 39; + window.postURL + & # 39; & text = & # 39; + window.postTitle, & # 39; twShareWindow & # 39;, # height = 450, width = 550, top = # 39 ($ (window) .height () / 2-275) + #, left = # 39) ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, location = 0, menubar = 0, directories = 0, scrollbar = 0 & # 39;); return it incorrectly;

});

$ (& # 39; pi-link & # 39;). click (function (s) {

e.preventDefault (); window.open (& # 39; http: //pinterest.com/pin/create/button/? url = & # 39; + window.postURL + & # 39; & description = & # 39; + window.postTitle, & # 39; piShareWindow & # 39; height = 450, width = 550, top = & # 39; + ($ (window) .height () / 2-275) + & # 39; left = & # 39; + ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, location = 0, menu bar = 0, directories = 0, scroll bars = 0 & # 39;); return it incorrectly;

});

$ (& # 39; em-link & # 39;). click (function (s) {

e.preventDefault (); window.open (& # 39; mailto:? subject = & # 39; + window.postTitle + & # 39; & body = & # 39; + window.postURL + & # 39; via https://top5.com / & # 39 ;, & # 39; emShareWindow & # 39; height = 450, width = 550, top = & # 39; + ($ (window) .height () / 2 - 275) + & # 39 ;, left = & # 39; + ($ (window) .width () / 2 - 225) + & # 39 ;, toolbar = 0, location = 0, menu bar = 0, directories = 0, scroll bars = 0 & # 39); return it incorrectly;

});

$ (& # 39; re-link & # 39;). click (function (s) {

e.preventDefault (); window.open (& # 39; http: //www.reddit.com/submit? url = & # 39; + window.postURL + & # 39; & title = & # 39; + window.postTitle, & # 39; reShareWindow & # 39; 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;

});

* /

/ * TEMPORARY FOR DEV * /

Function checkImages () {

$ (& # 39; img.check-img, .entry content img, .check-img img & # 39;). je (function () { var $ this = $ (this), src = $ this.attr (# src #); if (src.indexOf (& # 39; local.top5.com & # 39;)> -1) { src = src.replace (& # 39; local.top5.com & # 39 ;, & # 39; top5.com & # 39;); $ this.attr (& # 39; src & s; src); } })

$ (& # 39; check-bg & # 39;). everyone (function () { var $ this = $ (this), src = $ this.css (& # 39; background image & # 39;); if (src.indexOf (& # 39; local.top5.com & # 39;)> -1) { src = src.replace (& # 39; local.top5.com & # 39 ;, & # 39; top5.com & # 39;); $ this.css (& # 39; background image & s39; src); } })

}

// checkImages ();

Function fireFBevent () {

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

{N.CallMethode? 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 (s) [0]; s.parentNode.insertBefore (t, s)} (window, document, & # 39; script & # 39 ;, "Https://connect.facebook.net/en_US/fbevents.js"); fbq (& # 39; init & # 39 ;, 155838155208561 & # 39;); fbq (& # 39; trackSingleCustom & # 39 ;, & # 39; 155838155208561 & # 39 ;, & # 39; KWco & # 39;);

}

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

});
Source link