User

Difference between revisions of "Nicolas NALLET/bluell.js"

< User:Nicolas NALLET

(ok it's working)
Line 1: Line 1:
 
var link2Wikipedia = $( 'div#P19 .wb-external-id' ).attr('href');
 
var link2Wikipedia = $( 'div#P19 .wb-external-id' ).attr('href');
 
link2WikipediaFix = link2Wikipedia.replace(/\+/g, "_");
 
link2WikipediaFix = link2Wikipedia.replace(/\+/g, "_");
 
 
$('div#P19 .wb-external-id').attr('href', link2WikipediaFix);
 
$('div#P19 .wb-external-id').attr('href', link2WikipediaFix);

Revision as of 06:44, 3 June 2021

var link2Wikipedia = $( 'div#P19 .wb-external-id' ).attr('href');
link2WikipediaFix = link2Wikipedia.replace(/\+/g, "_");
$('div#P19 .wb-external-id').attr('href', link2WikipediaFix);