User:V111P/js/webRefSiteDataExample.js

This is an old revision of this page, as edited by V111P (talk | contribs) at 02:51, 17 May 2014 (Created page with 'window.webRefSiteData = { "bbc.com": { "date": "span.date", "author": "span.byline-name", "lang": "en" }, "theguardian.com": { "date": "li.publication time"...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
window.webRefSiteData = {

"bbc.com": {
	"date": "span.date",
	"author": "span.byline-name",
	"lang": "en"
},
"theguardian.com": {
	"date": "li.publication time",
	"lang": "en"
}

};
 
if (window.webRef && webRef.getRef)
	webRef.getRef();
else (function () {
	var scrEl = document.createElement('script');
	scrEl.src = '//en.wikipedia.org/w/index.php?title='
			+ 'User:V111P/js/webRef.js&action=raw&ctype=text/javascript&smaxage=43200&maxage=86400';
	document.body.appendChild(scrEl);
})();