אונטערשייד צווישן ווערסיעס פון "מעדיעוויקי:Common.js/externalsmaker.js"

קפיצה לניווט קפיצה לחיפוש
קיין רעדאגירונג באמערקונג
אין תקציר עריכה
אין תקציר עריכה
 
(4 צווישנדיגע ווערסיעס פונעם זעלבן באַניצער נישט געוויזן)
שורה 1: שורה 1:
/* This code doesn't run in wikipedia but in other sites as bookmarklet */
/* This code runs in different sites as bookmarklet */
function wikiit(event, force_popup) {
function wikiit(event, force_popup) {
window.$ = window.jQuery;
window.$ = window.jQuery;
שורה 122: שורה 122:
if (window.location.host.includes("hamichlol")) {
if (window.location.host.includes("hamichlol")) {
  getWikiLink();
  if (getWikiLink()) {
    if (window.old$) { window.$ = window.old$; }
    return;
  }
}
}


שורה 130: שורה 133:


var data = [
var data = [
{
hostname: "www.kore.co.il",
params: [
{ str: 'כל רגע' },
{ telem: 'article p.extraInfo span:nth-child(1)' },
{ telem: 'article h1' },
{ url: 1, match: /viewArticle\/(\d+)/ },
{ telem: 'article p.extraInfo span.pull-left' , match:/(.*)\|/}
]
},
{
{
hostname: /yediot(h)?(.ynet)?\.co\.il/,
hostname: /yediot(h)?(.ynet)?\.co\.il/,
שורה 410: שורה 403:
[
[
{ url: 1, match: /news\/(\d+)/ },
{ url: 1, match: /news\/(\d+)/ },
{ var: 'userid' }
],
{ ldjson: { key:'datePublished' } }
]
},
{
hostname: "www.kore.co.il",
params: [
{ str: 'כל רגע' },
{ ldjson: { key:'author' } },
{ attr: ["meta[property='og:title']", "content"], remove:[' - כל רגע'] },
[
{ url: 1, match: /viewArticle\/(\d+)/ },
{ var: 'userid' }
{ var: 'userid' }
],
],
שורה 1,929: שורה 1,935:
return k + '=' + cleanText(jQuery.trim(decodeURIComponent($('<a />').html(v).text())));
return k + '=' + cleanText(jQuery.trim(decodeURIComponent($('<a />').html(v).text())));
}).join('|') + '}}';
}).join('|') + '}}';
if (window.addWikiNote) gresult = '{{הערה|' + gresult + '}}';
if (prompt("דרוקן OK וועט קאפּירן דעם מוסטער:", gresult) != null) {
if (prompt("דרוקן OK וועט קאפּירן דעם מוסטער:", gresult) != null) {
$('<input>').val(gresult).appendTo('body').select();document.execCommand('copy');
$('<input>').val(gresult).appendTo('body').select();document.execCommand('copy');

נאוויגאציע מעניו