[] Brighten up your mood while you are stuck at home with these self care products | PINKVILLA <![CDATA[ function getCookie(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i <![CDATA[(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ 'use strict';var g=function(a){var b=0;return function(){return be;e++){var f=c.concat(d[e].split(""));K[e]=f;for(var k=0;k<f.length;k++){var h=f[k];void 0===L[h]&&(L[h]=k)}}}b=K[b];c=[];for(d=0;d<this.length;d+=3){var n=this[d],t=(e=d+12;n=(n& 3)>4;t=(t&15)>6;h&=63;f||(h=64,e||(t=64));c.push(b[k],b[n],b[t]||””,b[h]||””)}return c.join(“”)};try{return JSON.stringify(this.a&&this.a,S)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.a&&this.a,S)};var S=function(a,b){return”number”!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)};M.prototype.toString=function(){return this.a.toString()};var T=function(a){O(this,a)};u(T,M);var U=function(a){O(this,a)};u(U,M);var ja=function(a,b){this.c=new B(a);var c=R(b,T,5);c=new y(w,Q(c,4)||””);this.b=new ea(a,c,Q(b,4));this.a=b},ka=function(a,b,c,d){b=new T(b?JSON.parse(b):null);b=new y(w,Q(b,4)||””);C(a.c,b,3,!1,c,function(){ia(function(){F(a.b);d(!1)},function(){d(!0)},Q(a.a,2),Q(a.a,3),Q(a.a,1))})};var la=function(a,b){V(a,”internal_api_load_with_sb”,function(c,d,e){ka(b,c,d,e)});V(a,”internal_api_sb”,function(){F(b.b)})},V=function(a,b,c){a=l.btoa(a+b);v(a,c)},W=function(a,b,c){for(var d=[],e=2;ec?0:c}else c=-1;0!=c&&(W(a.b,”internal_api_sb”),Z(a,Q(a.a,6)))},function(c){Z(a,c?Q(a.a,4):Q(a.a,5))})},Z=function(a,b){a.c||(a.c=!0,a=new l.XMLHttpRequest,a.open(“GET”,b,!0),a.send())};(function(a,b){l[a]=function(c){for(var d=[],e=0;e <![CDATA[ function detectmob() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) ){ return true; } else { return false; } } if(detectmob() == false){ jQuery(document).ready(function(){ sendTrackingClickedEvent(“a.navbar-brand”, “Section Pinkvilla logo Clicked”); sendTrackingClickedEvent(“.navbar-nav a”, “Section Header Top Navigation .navbar-nav la a. Menu Link Clicked”); // sendTrackingClickedEvent(“.mCustomScrollbar a”, “Section Lateral Menu bar Clicked”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment1 .sidebar-block-item-image a”, “Section Desktop Sidebar WHAT’S HOT 1st Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment1 .sidebar-block-item-title a”, “Section Desktop Sidebar WHAT’S HOT 1st Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment2 .sidebar-block-item-image a”, “Section Desktop Sidebar WHAT’S HOT 2nd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment2 .sidebar-block-item-title a”, “Section Desktop Sidebar WHAT’S HOT 2nd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment3 .sidebar-block-item-image a”, “Section Desktop Sidebar WHAT’S HOT 3rd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.entertainment3 .sidebar-block-item-title a”, “Section Desktop Sidebar WHAT’S HOT 3rd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion1 .sidebar-block-item-image a”, “Section Desktop Sidebar TRENDING 1st Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion1 .sidebar-block-item-title a”, “Section Desktop Sidebar TRENDING 1st Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion2 .sidebar-block-item-image a”, “Section Desktop Sidebar TRENDING 2nd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion2 .sidebar-block-item-title a”, “Section Desktop Sidebar TRENDING 2nd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion3 .sidebar-block-item-image a”, “Section Desktop Sidebar TRENDING 3rd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.taxonomy .sidebar-block-item.fashion3 .sidebar-block-item-title a”, “Section Desktop Sidebar TRENDING 3rd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment1 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 1st Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment1 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 1st Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment2 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 2nd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment2 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 2nd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment3 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 3rd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.entertainment3 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar WHAT’S HOT 3rd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion1 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar TRENDING 1st Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion1 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar TRENDING 1st Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion2 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar TRENDING 2nd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion2 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar TRENDING 2nd Title Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion3 .sidebar-block-item-image a”, “Photo Gallery Desktop Sidebar TRENDING 3rd Image Click”); sendTrackingClickedEvent(“.sidebar-block.section.photo-gallery .sidebar-block-item.fashion3 .sidebar-block-item-title a”, “Photo Gallery Desktop Sidebar TRENDING 3rd Title Click”); sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .article-teaser1-image a”, “Section Desktop First Thumbnail Image Clicked”); sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .front-page-large-title a”, “Section Desktop First Thumbnail Title Clicked”); sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .desktop-img-homepage.article-teaser1-image a”, “Section Desktop Thumbnail Image Clicked”); // sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .contenttext.article-page-body-tease a”, “Section Desktop Thumbnail Title Clicked”); }); } else{ jQuery(document).ready(function(){ sendTrackingClickedEvent(“a.navbar-brand”, “Section mobile Pinkvilla logo Clicked”); sendTrackingClickedEvent(“.scroll .nav-scroll a”, “Section mobile Header Top Navigation .navbar-nav la a. Menu Link Clicked”); //sendTrackingClickedEvent(“.mCustomScrollbar a”, “Section Lateral Menu bar Clicked”); sendTrackingClickedEvent(“.innderDiv a”, “Read Also Article Clicked”); sendTrackingClickedEvent(“.ypromoted a”, “Section mobile Youtube Widget – Image”); // Added on 20 Jan, 2018 sendTrackingClickedEvent(“.ycontenttext a”, “Section mobile Youtube Widget – Link”); // Added on 20 Jan, 2018 sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .article-teaser1-image a”, “Section mobile First Thumbnail Image Clicked”); sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .front-page-large-title a”, “Section mobile First Thumbnail Title Clicked”); sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .desktop-img-homepage.article-teaser1-image a”, “Section mobile Thumbnail Image Clicked”); // sendTrackingClickedEvent(“.view-taxonomy-term .article-page-main .section-page-teaser-item .contenttext.article-page-body-tease a”, “Section mobile Thumbnail Title Clicked”); }); } ]]> resp.json()) .then(function(data) { $(“.ccc0512191”).show(); setCookie(‘compliance_consent’, consent, 2000); if(eu_country.includes(data[‘country_name’]) || data[‘state’] == “California”){ $(‘.custgdprccpaimplicit’).show(); }else{ $.get(“https://freegeoip.app/json/”, function (response) { $(“#ip”).html(“IP: ” + response.ip); $(“#address”).html(“Location: ” + response.city + “, ” + response.region_name); if(response.region_name == “California”){ $(‘.custgdprccpaimplicit’).show(); } else{ $(‘.custcompexplicit’).hide(); $(“.ccc0512191”).hide(); } }, “jsonp”); } }); } $(“#acceptcompform”).submit(function(e){ e.preventDefault(); // setCookie(‘compliance_consent’, 0, 2000); setCookie(‘compliance_consent’, 0, 2000); $(“.ccc0512191”).hide(); }) $(“#rejectcompform”).submit(function(e){ e.preventDefault(); setCookie(‘compliance_consent’, 1, 2000); $(“.ccc0512191”).hide(); googletag.pubads().setRequestNonPersonalizedAds(1); googletag.pubads().refresh(); }) $(“#acceptcompformexplicit”).submit(function(e){ e.preventDefault(); setCookie(‘compliance_consent’, 0, 2000); $(“.ccc0512191”).hide(); }) googletag.pubads().setRequestNonPersonalizedAds(consent); googletag.pubads().enableSingleRequest(); googletag.enableServices(); // console.log(googletag.pubads()); ]]> <!– Skip to main content –> « Back
June 22, 2021 04:16 pm | 26590 reads
Being stuck at home has taken a large toll on all of us. We are all constantly anxious, stressed and just basically frustrated at the universe. But what can really help make this situation a little better is doing some self-care and providing yourself with love and pampering. Taking care of your skin and hair is the most essential thing in these times. Staying up late and lazing around can take a toll on your skin and wear it out. Also, not being able to go out with your friends can make you miss having fun and enjoying yourself. Here, we have a list of products that will make staying at home fun and not-so-boring.
Copyright © Pinkvilla 2021
0) { $(‘#idFilter_Color_Count’).show().html(colorCnt); } else { $(‘#idFilter_Color_Count’).hide(); } if (brandCnt > 0) { $(‘#idFilter_Brand_Count’).show().html(brandCnt); } else { $(‘#idFilter_Brand_Count’).hide(); } if (storeCnt > 0) { $(‘#idFilter_Store_Count’).show().html(storeCnt); } else { $(‘#idFilter_Store_Count’).hide(); } if (designerCnt > 0) { $(‘#idFilter_Designer_Count’).show().html(designerCnt); } else { $(‘#idFilter_Designer_Count’).hide(); } $(‘#idClearFilters’).show(); } else { $(‘#idFilter_Type_Count’).hide(); $(‘#idFilter_Color_Count’).hide(); $(‘#idFilter_Brand_Count’).hide(); $(‘#idFilter_Store_Count’).hide(); $(‘#idFilter_Designer_Count’).hide(); $(‘#idClearFilters’).hide(); } } ]]> 1) { //alert(‘IF’); $(‘#backBtn’).show(); $(‘#backBtntTop’).show(); } }); function showHideBack() { //alert(‘IN = ‘); /* // If Browser History, then shows back button if (history.length > 1) { //alert(‘IF’); $(‘#backBtn’).show(); $(‘#backBtntTop’).show(); } */ }//showHideBack // Article Details Page – Back Button function goToBack() { //alert(‘In = ‘+document.referrer); if(history.length > 1) { history.go(-1); } else { window.location = ‘https://www.pinkvilla.com/shopping/’; } }//goToBack ]]> <![CDATA[ $( "#qs" ).autocomplete({ source: "https://www.pinkvilla.com/shopping/autosuggest.php", minLength: 2, success: function( data ) { response( data ); } }); $('#idMobileFilterBtn').click(function(){ document.getElementById("mySidenav").style.width = "100%"; }); function openNav() { document.getElementById("mySidenav").style.width = "100%"; } function closeNav() { document.getElementById("mySidenav").style.width = "0"; } function showFilter (num) { for (var i=1;i= ($(document).height() – $(window).height())*0.8 ) { $(window).data(‘ajaxready’, false); var filters = ”; var hash = window.location.hash; hash = hash.replace(/^#/, ”); if(hash != “” && hash != undefined && hash != null && hash != “nothing”) { var result = hash.split(‘&’); var filterArrSize = result.length; for (var j=0;j <![CDATA[ function checkLoginState() { FB.getLoginStatus(function(response) { statusChangeCallback(response); }); } // This is called with the results from from FB.getLoginStatus(). function statusChangeCallback(response) { console.log(response); if (response.status === 'connected') { // Logged into your app and Facebook. testAPI(); // var signinval = '
- My Profile
- Logout’; var signinval = ‘
- My Profile
- Logout’; var signinvalMobile = ‘
- My Profile
- Logout’; document.getElementById(‘wrapper’).innerHTML = signinval; document.getElementById(‘wrapperMobile’).innerHTML = signinvalMobile; var myElem7 = document.getElementById(‘profile_image’); if (myElem7 === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem8 = document.getElementById(‘idFBProfileImage’); if (myElem8 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.authResponse.id+’/picture?type=large’; } var myElem9 = document.getElementById(‘idFBProfileImageMob’); if (myElem9 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.authResponse.id+’/picture?type=large’; } } else { //var singinval = ”; var singinval = ‘Sign In’; var singinvalMobile = ‘Sign In’; // document.getElementById(‘SignIn’).innerHTML = singinval; document.getElementById(‘SignInMobile’).innerHTML = singinvalMobile; } } // Here we run a very simple test of the Graph API after login is // successful. See statusChangeCallback() for when this call is made. function testAPI() { // console.log(‘Welcome! Fetching your information…. ‘); var url = ‘/me?fields=id,name,email’; FB.api(‘/me’, function(response) { // console.log(‘Successful login for: ‘ + response.name); var myElem = document.getElementById(‘profile_image’); if (myElem === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem2 = document.getElementById(‘idFBProfileImage’); if (myElem2 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } var myElem3 = document.getElementById(‘idFBProfileImageMob’); if (myElem3 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } }, {scope: ‘public_profile,email’}); // console.log(‘testing’); /* FB.api(“/me/picture?width=180&height=180″, function(response) { //console.log(response.data.url); document.getElementById(‘idFBProfileImage’).src = ”+response.data.url+”; document.getElementById(‘idFBProfileImageMob’).src = ”+response.data.url+”; document.getElementById(‘profile_image’).innerHTML = ”; }); */ FB.getLoginStatus(function(response) { // statusChangeCallback(response); //console.log(‘Welcome! Fetching your information…. ‘); var url = ‘/me?fields=id,name,email,first_name,last_name,locale’; FB.api(url, function(response) { //console.log(‘img = ‘+response.data.url); // document.getElementById(‘profile_image’).innerHTML = ”; // console.log(response.first_name + ” ” + response.city + ” ” +response.country+ ” ” +response.region+ ” ” +response.state+ ” ” +response.street); // document.getElementById(‘status’).innerHTML =’Thanks for logging in, ‘ + response.name + ” ” + response.first_name + ” ” + response.last_name + ” ” + response.id + ” ” +response.email+ ‘!’; document.getElementById(‘profile_name’).innerHTML = response.name ; // document.getElementById(‘profile_valname’).value = response.name ; document.getElementById(‘profile_fname’).innerHTML = response.first_name ; document.getElementById(‘profile_lname’).innerHTML = response.last_name ; document.getElementById(‘profile_ename’).innerHTML = response.email ; var myElem4 = document.getElementById(‘profile_image’); if (myElem4 === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem5 = document.getElementById(‘idFBProfileImage’); if (myElem5 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } var myElem6 = document.getElementById(‘idFBProfileImageMob’); if (myElem6 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } }, {scope: ‘public_profile,email’}); //abhi }); } function fbLogoutUser() { //alert(‘Logout from fb’); /* FB.login(function (response) { if (response.authResponse) { // Get and display the user profile data getFbUserData(); } // handle the response //console.log(“Response goes here!”); //console.log(response); document.location.reload(); }, {scope: ‘public_profile,email,user_birthday,user_location,user_hometown’}); */ FB.getLoginStatus(function(response) { if (response && response.status === ‘connected’) { FB.logout(function(response) { //document.location.reload(); //jQuery(location).attr(‘href’, ‘https://www.pinkvilla.com/shopping/’); history.go(0); }); } }); } function login() { FB.login(function (response) { if (response.authResponse) { // Get and display the user profile data getFbUserData(); } // handle the response //console.log(“Response goes here!”); //console.log(response); document.location.reload(); }, {scope: ‘public_profile,email,user_location,user_hometown,user_friends,instagram_basic,user_likes’}); // user_birthday } function logout() { FB.logout(function(response) { // user is now logged out }); } // Fetch the user profile data from facebook function getFbUserData(){ FB.api(‘/me’, {locale: ‘en_US’, fields: ‘id,first_name,last_name,email,link,gender,locale,picture,hometown,friends,likes,location’}, //birthday function (response) { saveUserData(response); document.getElementById(‘fbLink’).setAttribute(“onclick”,”fbLogout()”); document.getElementById(‘fbLink’).innerHTML = ‘Logout from Facebook’; document.getElementById(‘status’).innerHTML = ‘Thanks for logging in, ‘ + response.first_name + ‘!’; document.getElementById(‘userData’).innerHTML = ‘
FB ID: ‘+response.id+’
Name: ‘+response.first_name+’ ‘+response.last_name+’
Email: ‘+response.email+’
Gender: ‘+response.gender+’
Locale: ‘+response.locale+’
Picture:
- Logout’; document.getElementById(‘wrapper’).innerHTML = signinval; document.getElementById(‘wrapperMobile’).innerHTML = signinvalMobile; var myElem7 = document.getElementById(‘profile_image’); if (myElem7 === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem8 = document.getElementById(‘idFBProfileImage’); if (myElem8 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.authResponse.id+’/picture?type=large’; } var myElem9 = document.getElementById(‘idFBProfileImageMob’); if (myElem9 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.authResponse.id+’/picture?type=large’; } } else { //var singinval = ”; var singinval = ‘Sign In’; var singinvalMobile = ‘Sign In’; // document.getElementById(‘SignIn’).innerHTML = singinval; document.getElementById(‘SignInMobile’).innerHTML = singinvalMobile; } } // Here we run a very simple test of the Graph API after login is // successful. See statusChangeCallback() for when this call is made. function testAPI() { // console.log(‘Welcome! Fetching your information…. ‘); var url = ‘/me?fields=id,name,email’; FB.api(‘/me’, function(response) { // console.log(‘Successful login for: ‘ + response.name); var myElem = document.getElementById(‘profile_image’); if (myElem === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem2 = document.getElementById(‘idFBProfileImage’); if (myElem2 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } var myElem3 = document.getElementById(‘idFBProfileImageMob’); if (myElem3 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } }, {scope: ‘public_profile,email’}); // console.log(‘testing’); /* FB.api(“/me/picture?width=180&height=180″, function(response) { //console.log(response.data.url); document.getElementById(‘idFBProfileImage’).src = ”+response.data.url+”; document.getElementById(‘idFBProfileImageMob’).src = ”+response.data.url+”; document.getElementById(‘profile_image’).innerHTML = ”; }); */ FB.getLoginStatus(function(response) { // statusChangeCallback(response); //console.log(‘Welcome! Fetching your information…. ‘); var url = ‘/me?fields=id,name,email,first_name,last_name,locale’; FB.api(url, function(response) { //console.log(‘img = ‘+response.data.url); // document.getElementById(‘profile_image’).innerHTML = ”; // console.log(response.first_name + ” ” + response.city + ” ” +response.country+ ” ” +response.region+ ” ” +response.state+ ” ” +response.street); // document.getElementById(‘status’).innerHTML =’Thanks for logging in, ‘ + response.name + ” ” + response.first_name + ” ” + response.last_name + ” ” + response.id + ” ” +response.email+ ‘!’; document.getElementById(‘profile_name’).innerHTML = response.name ; // document.getElementById(‘profile_valname’).value = response.name ; document.getElementById(‘profile_fname’).innerHTML = response.first_name ; document.getElementById(‘profile_lname’).innerHTML = response.last_name ; document.getElementById(‘profile_ename’).innerHTML = response.email ; var myElem4 = document.getElementById(‘profile_image’); if (myElem4 === null) { } else { document.getElementById(‘profile_image’).innerHTML = ”; } var myElem5 = document.getElementById(‘idFBProfileImage’); if (myElem5 === null) { } else { document.getElementById(‘idFBProfileImage’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } var myElem6 = document.getElementById(‘idFBProfileImageMob’); if (myElem6 === null) { } else { document.getElementById(‘idFBProfileImageMob’).src = ‘https://graph.facebook.com/’+response.id+’/picture?type=large’; } }, {scope: ‘public_profile,email’}); //abhi }); } function fbLogoutUser() { //alert(‘Logout from fb’); /* FB.login(function (response) { if (response.authResponse) { // Get and display the user profile data getFbUserData(); } // handle the response //console.log(“Response goes here!”); //console.log(response); document.location.reload(); }, {scope: ‘public_profile,email,user_birthday,user_location,user_hometown’}); */ FB.getLoginStatus(function(response) { if (response && response.status === ‘connected’) { FB.logout(function(response) { //document.location.reload(); //jQuery(location).attr(‘href’, ‘https://www.pinkvilla.com/shopping/’); history.go(0); }); } }); } function login() { FB.login(function (response) { if (response.authResponse) { // Get and display the user profile data getFbUserData(); } // handle the response //console.log(“Response goes here!”); //console.log(response); document.location.reload(); }, {scope: ‘public_profile,email,user_location,user_hometown,user_friends,instagram_basic,user_likes’}); // user_birthday } function logout() { FB.logout(function(response) { // user is now logged out }); } // Fetch the user profile data from facebook function getFbUserData(){ FB.api(‘/me’, {locale: ‘en_US’, fields: ‘id,first_name,last_name,email,link,gender,locale,picture,hometown,friends,likes,location’}, //birthday function (response) { saveUserData(response); document.getElementById(‘fbLink’).setAttribute(“onclick”,”fbLogout()”); document.getElementById(‘fbLink’).innerHTML = ‘Logout from Facebook’; document.getElementById(‘status’).innerHTML = ‘Thanks for logging in, ‘ + response.first_name + ‘!’; document.getElementById(‘userData’).innerHTML = ‘
- Logout’; var signinvalMobile = ‘
- Logout’; var signinval = ‘
<![CDATA[ ]]> <!–
Pinkvilla has updated its Privacy and Cookie policy. We use cookies to improve your experience on our site and show you Personalized advertisement.
Options–> <!–
Pinkvilla has updated its Privacy and Cookie policy. We use cookies to improve your experience on our site and show you Personalized advertisement
–>
0) { category = ‘rooms_int_home’; } else if ($(‘.page-taxonomy’).length > 0) { category = ‘rooms_int_section’; } else if ($(‘.articles-page’).length > 0) { category = ‘rooms_int_story’; } } gtag(‘event’, action, {‘event_category’: category, ‘event_label’: label, ‘value’: value }); } ]]>
Syndication Source