מדיה ויקי:BookmarkletsInit.js – הבדלי גרסאות
חלוקת קונטרסים (שיחה | תרומות) ניסיון העתקה מויקיפדיה: https://he.wikipedia.org/wiki/%D7%9E%D7%93%D7%99%D7%94_%D7%95%D7%99%D7%A7%D7%99:BookmarkletsInit.js |
חלוקת קונטרסים (שיחה | תרומות) אין תקציר עריכה |
||
| שורה 2: | שורה 2: | ||
var stubparts = [ | var stubparts = [ | ||
"javascript:(function(){if(typeof(", | "javascript:(function(){if(typeof(", | ||
")=='undefined'){var s=document.createElement('script');s.setAttribute('src','//chabadpedia.co.il/index.php?title= ", | ")=='undefined'){var s=document.createElement('script');s.setAttribute('src','http://chabadpedia.co.il/index.php?title= ", | ||
"&action=raw&maxage=3600&ctype=text/javascript&dontcountme=s');document.getElementsByTagName('body')[0].appendChild(s);}else ", | "&action=raw&maxage=3600&ctype=text/javascript&dontcountme=s');document.getElementsByTagName('body')[0].appendChild(s);}else ", | ||
"();})()" | "();})()" | ||