« first day (2630 days earlier)      last day (1487 days later) » 

7:38 AM
91 messages moved from GMTs
 
 
5 hours later…
1:25 PM
example: data.map( item =>{
item.friend.`${name}`
]);

name will come dynamically from outside, purpose of this is, to make mapping in different sections of my array, ... i mean i want to set where i want to look for my data not only in certain place..
 
1 message moved from JavaScript
 
 
4 hours later…
6:04 PM
if (window.history && window.history.pushState) {
jQuery(window).on('popstate', function() { console.log('baked')
// window.location.href = window.location.origin +'/db/bqc9sr9yn';
window.location.href = 'https://www.google.com/';
return false;
});
}
 
1 message moved from JavaScript
 
if (window.history && window.history.pushState) {
jQuery(window).on('popstate', function() {
window.location.href = 'https://www.google.com/';
return false;
});
}
I tried this for redirection on clicking browser back button
 
its an old thing but I had been working with this kind before
now it is showing

[Intervention] Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
 
6:49 PM
$.get("https://raw.githubusercontent.com/cpog19901/Countdown/master/text/english3.txt", function(contents) {
//contents variable now contains the contents of the textfile as string

//check if file contains the word entered by user
var hasString = contents.test(/\bnewWord\b/);

//outputs true if contained, else false
console.log(hasString);
});
}
 
1 message moved from JavaScript
 
 
2 hours later…
 
2 hours later…

« first day (2630 days earlier)      last day (1487 days later) »