Szerkesztő:Grin/monobook.js
/* google analytics code */
document.write('<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-183833-4"; urchinTracker(); </script>');
/* commonshelper_helper */
// [[User:Krimpet/CH2.js]]
importScript(':en:User:Krimpet/CH2.js');
/* counter v2.00 - based on [[m:Ruwiki pgcounter]] */
var disable02_counter = 1;
function jscounter2()
{
if(!disable02_counter && window.location.href.match("^http://(hu\.wikipedia\.org|.*wikipedia.hu)/wiki/") && !window.location.href.substring(7).match(":"))
{
var img = new Image();
img.src = "http://stats.wikipedia.hu:65521/c-" + document.referrer;
}
}
addLoadEvent(jscounter2);
/* Anivandal */
document.write('<script type="text/javascript" src="'
+ 'http://hu.wikipedia.org/w/index.php?title=User:AntiVandal/recent2.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
/* ObjectPlacer v2.00 <g> */
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp("(^|\\s)"+searchClass+"(\\s|$)");
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
function insertObject() {
var divs = getElementsByClass('ObjectPlacer');
for( var i=0; i<divs.length; i++ ) {
var myDiv = divs[i];
var newobj = document.createElement('object');
var valData = myDiv.title;
newobj.setAttribute('data', valData);
newobj.setAttribute('type', 'text/html');
newobj.setAttribute('width', '300');
newobj.setAttribute('height', '200');
myDiv.appendChild(newobj);
}
}
addLoadEvent( insertObject );
/* [[User:Bdamokos/Előnézet cucc]] */
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
document.write('<script type="text/javascript" src="'
+ 'http://hu.wikipedia.org/w/index.php?title=User:Bdamokos/strings-hu.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// *** counter test 2 ***
// work in progress, lásd [[User:Tgr/Számláló]]
var counter_disable = 0;
function count_hit()
{
if(
counter_disable == 0
)
{
var img = new Image();
img.src = "http://stats.wikipedia.hu:8080/"
+ wgPageName
// + "?ns=" + wgNamespaceNumber
+ "&title=" + encodeURI(wgPageName)
+ "&action=" + (document.location.href.match("diff=") ? "diff" :
(document.location.href.match("oldid=") ? "oldid" : wgAction))
+ "&referrer=" + document.referrer
+ "&anon0=" + wgUserGroups // some useful groups: user, autoconfirmed, emailconfirmed, sysop
+ "&anon=" + (IsLoggedIn() ? "0" : "1"); // wgUserGroups-szal gyorsabb lenne, az IsLoggedIn() DOM alapú
}
}
addOnloadHook(count_hit);
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.