User:Jayprakash12345/WikidataToolbar.js

$(document).ready(function {		if(mw.config.get("wgCanonicalNamespace") === "" && $('#t-wikibase').length )		{			console.log('Exist');			link = $('li#t-wikibase a:first').attr('href');

var newNode = " Wikidata "; $("#firstHeading").append(newNode); } });