« first day (1925 days earlier)      last day (2192 days later) » 

01:07
    var divText;
    var newText;
    var link;
    var date;

    $('div').each( function() {
      divText = $(this).html();

      if( divText.indexOf('posted') != -1 ) {
        newText = divText.split('posted');
        var link = newText[0];
        var date = newText[1];
        $(this).html(link + date);
      }
    });

but now need to have it run for only 5 digit zip code and a phone number
1 message moved from JavaScript
01:20
/// found something . Can I assign the xpath instead of Millennials

module.exports = [
// millennial
{
regex: /\bmillennials\'/gi,
replacement: "snake people's"
},
{
regex: /\bmillennial\b/gi,
replacement: 'snake person'
},
{
regex: /\bmillennials\b/gi,
replacement: 'snake people'
},
// common misspelling
{
regex: /\bmillienials\b/gi,
replacement: 'snake people'
},

// the great recession
{
regex: /([\W-])(great )?recession\b/gi,
replacement: '$1time of shedding and cold rocks'
},
1 message moved from JavaScript
01:54
// This is just a sample script. Paste your real code (javascript or HTML) here.
if ('this_is' == /an_example/) {
of_beautifier();
} else {
var a = b ? (c % d) : e[f];
}
1 message moved from JavaScript
 
3 hours later…
05:10
23 messages moved from GMTs
05:50
$("#subject_contents>ul>li>a").on('click',function(e){
$(this).parent().siblings().children('ul').hide('slow');
$(this).parent('li').children('ul').toggle('slow');
//////////////////////////// the troubled part
var elem=$(this).getElementsByTagName('svg');
var i=0;
while( elem.length >i){
var element = elem[i];
element.classList.add('newclass');
i++;
}
1 message moved from JavaScript
07:01
@Natty tp
 
2 hours later…
08:38
1 message moved from JavaScript
 
2 hours later…
@Queen k
13:30
module.exports.profil_get = function(req, res, next) {
pool.query("SELECT * FROM user WHERE id_user = ?", [req.user.id_user], function(err, rows, field) {
if (err) throw err;
if (rows[0]) {
res.render("manajemen_profil/manajemen_profil", {
person: req.user,
user: rows[0],
message_err: req.flash('message_err'),
message_success: req.flash('message_success'),
notif: req.session.notif
});

}
else{
req.flash('message_err', "Id user not found");
res.redirect('/');
}
});
}
1 message moved from JavaScript
 
1 hour later…
0
A: Replace text in website with Chrome content script extension

Pankaj Vavadiyavar matchText = function(node, regex, callback, excludeElements) { excludeElements || (excludeElements = ['script', 'style', 'iframe', 'canvas', 'a']); console.log("Node name " + node.nodeName); var child = node.firstChild; while (child) { switch (child.nodeType) ...

1 message moved from JavaScript
 
1 hour later…
 
1 hour later…
 
2 hours later…

« first day (1925 days earlier)      last day (2192 days later) »