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

אפדעיט
(update)
(אפדעיט)
שורה 159: שורה 159:
hostname: /^\w+\.walla\.co\.il$/,
hostname: /^\w+\.walla\.co\.il$/,
params: [
params: [
{ str: 'וואלה!' },
{ str: 'וואלה' },
[
[
{ telem: 'div.writers-names' },
{ telem: 'div.writers-names' },
שורה 167: שורה 167:
{ telem: '.author > div', match: /^([^\|]*)/, remove: ['מערכת וואלה! ספורט'] }
{ telem: '.author > div', match: /^([^\|]*)/, remove: ['מערכת וואלה! ספורט'] }
],
],
{ attr: ["meta[property='og:title']", "content"], remove: [ / - וואלה!.*/ ] },
{ attr: ["meta[property='og:title']", "content"], remove: [ / - וואלה!?.*/ ] },
[
[
{ url: 1, match: /item\/(\d+)/ },
{ url: 1, match: /item\/(\d+)/ },
שורה 189: שורה 189:
{ telements: ["header address", VE] },
{ telements: ["header address", VE] },
{ telem: 'address > a' },
{ telem: 'address > a' },
{ attr: ["meta[name='author']", "content"] }
{ attr: ["meta[name='author']", "content"] },
],
{ telem: 'address' } ],
[
[
{ telem: 'header h1' },
{ telem: 'header h1' },
שורה 236: שורה 236:
],
],
{ url: 1, match: /org\.il\/(.+?)\// }
{ url: 1, match: /org\.il\/(.+?)\// }
]
},
{
hostname: "archive.kan.org.il",
params: [
{ str: 'כאן ארכיון' },
{ attr: ["meta[property='og:title']", "content"], remove: ['כאן ארכיון |'] },
{ url: 1, match: /(\d+)/ },
{ telem: 'span.itemPageDate', remove: ['תאריך שידור:'], date: '.' }
]
]
},
},
שורה 576: שורה 585:
{ str: 'NFC' },
{ str: 'NFC' },
{ telem: "#ctl00_ContentMain_UcArticle1_lnkWriterName, #ctl00_ContentMain_UcArticle1_lblTopWriterName", remove: ["מחלקה ראשונה"] },
{ telem: "#ctl00_ContentMain_UcArticle1_lnkWriterName, #ctl00_ContentMain_UcArticle1_lblTopWriterName", remove: ["מחלקה ראשונה"] },
{ telem: "#ctl00_ContentMain_UcArticle1_lblHead1, #ctl00_ContentMain_UcArticle1_lblSpecialTitle" },
{ attr: ['meta[property="og:title"]', 'content'] },
{ url: 1, match: /ve\/(.*?)\.html/ },
{ url: 1, match: /ve\/(.*?)\.html/ },
{ telem: "#ctl00_ContentMain_UcArticle1_lblCreateDate", date: '/' }
{ telem: "#ctl00_ContentMain_UcArticle1_lblCreateDate", date: '/' }
שורה 639: שורה 648:
{ telem: ".article-primary p strong:eq(0)", match: /(.+)\|/ },
{ telem: ".article-primary p strong:eq(0)", match: /(.+)\|/ },
{ telem: "h1" },
{ telem: "h1" },
{ url: 'decodeURI', match: /idf\.il\/(.*)$/ },
[
[
{ attr: ["body.minisite", "data-uid"] },
{ url: 'decodeURI', match: /idf\.il\/(.*)$/ }
], [
{ telem: ".article-primary p strong:eq(0)", date: '.' },
{ telem: ".article-primary p strong:eq(0)", date: '.' },
{ attr: ['meta[property="article:published_time"]', 'content'], match: /(\d+\s+.*?\s+\d{4})/ },
{ attr: ['meta[property="article:published_time"]', 'content'], match: /(\d+\s+.*?\s+\d{4})/ },
שורה 799: שורה 810:
'ahj': 'החרות ירושלים',
'ahj': 'החרות ירושלים',
'ahr': 'על המשמר',
'ahr': 'על המשמר',
'ajns': 'עיתונות|ajns',
'ashnav': 'אשנב',
'ashnav': 'אשנב',
'bamar': 'במערכה',
'bamar': 'במערכה',
שורה 804: שורה 816:
'dhy': 'דואר היום',
'dhy': 'דואר היום',
'dmt': 'מאמענט',
'dmt': 'מאמענט',
'dnajlb': 'עיתונות|dnajlb',
'emda': 'עמדה',
'emda': 'עמדה',
'eretzh': 'עיתונות|eretzh',
'frw': 'פארווערטס',
'frw': 'פארווערטס',
'haa': 'המאסף',
'haa': 'המאסף',
שורה 818: שורה 832:
'haschiloah': 'השילוח1',
'haschiloah': 'השילוח1',
'hayal': 'לחייל',
'hayal': 'לחייל',
'hayomisr': 'עיתונות|hayomisr',
'hayomw': 'היום וורשה',
'hayomw': 'היום וורשה',
'hazit': 'החזית',
'hazit': 'החזית',
שורה 824: שורה 839:
'hebrew': 'שרהזאהן',
'hebrew': 'שרהזאהן',
'hed': 'הד המזרח',
'hed': 'הד המזרח',
'hegeh': 'עיתונות|hegeh',
'hhr': 'הפועל הצעיר',
'hhr': 'הפועל הצעיר',
'hlb': 'הלבנון',
'hlb': 'הלבנון',
שורה 1,018: שורה 1,034:
]
]
},
},
{
{ // site changed their CSP and no longer supported // TODO: remove after 2024-08-31 if not fixed
hostname: "davidson.weizmann.ac.il", hrefmatch: /online/,
hostname: "davidson.weizmann.ac.il", hrefmatch: /online/,
params: [
params: [
שורה 1,384: שורה 1,400:
params: [
params: [
{ str: 'שיחה מקומית'},
{ str: 'שיחה מקומית'},
{ telem: 'article#main > header > div.post_details > a' },
{ telem: 'article#main > header > div.post_details > a' , remove: ['שיחה מקומית'] },
{ telem: 'article#main > header > h1.post_title' },
{ telem: 'article#main > header > h1.post_title' },
{ url: 1, match: /il\/(.*)\// },
{ url: 1, match: /il\/(.*)\// },