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

הגהה
(אפדעיט)
(הגהה)
שורה 145: שורה 145:
],
],
[
[
{ url: 1, match: /co\.il\/((?:ency|home|headlines)\/.*?html?)/ },
{ url: 1, match: /L-(.*?),/ },
{ url: 1, match: /L-(.*?),/ },
{ url: 1, match: /co\.il\/(.*)/, remove: ['#autoplay'] } ],
{ url: 1, match: /co\.il\/(.*)/, remove: ['#autoplay'] }
],
[
[
{ url: 1, match: /co\.il\/((?:ency)\/.*?html?)/, prefix: "תאריך=", func: function(s) { return s ? 'ללא' : ''; }},
{ url: 1, match: /co\.il\/((?:ency)\/.*?html?)/, prefix: "תאריך=", func: function(s) { return s ? 'ללא' : ''; }},
שורה 206: שורה 208:
{ telem: 'main > div > section > div > div > a', remove: [ 'שיתוף בוואטסאפ' ] },
{ telem: 'main > div > section > div > div > a', remove: [ 'שיתוף בוואטסאפ' ] },
{ telem: 'address', remove: [ 'הארץ' ] }
{ telem: 'address', remove: [ 'הארץ' ] }
],
],
[
[
{ telem: 'h1#article-header' },
{ telem: 'h1#article-header' },
שורה 247: שורה 249:
{ url: 1, match: /org\.il\/(.*p-\d{4,}.*)/ },
{ url: 1, match: /org\.il\/(.*p-\d{4,}.*)/ },
{ url: 1, match: /(\d+)/ }
{ url: 1, match: /(\d+)/ }
], [
],
[
{ telem: '.story_autor_date' },
{ telem: '.story_autor_date' },
{ telem: '.player_time', date: '.' },
{ telem: '.player_time', date: '.' },
שורה 346: שורה 349:
{ elem: '#F_Title, .mainArticletitle' },
{ elem: '#F_Title, .mainArticletitle' },
{ telem: 'h1.project_title' }
{ telem: 'h1.project_title' }
], { url: 1, match: /=(\d+)/ },
],
{ url: 1, match: /=(\d+)/ },
[
[
{ elem: '.articleInfo .timestamp, #coteret_Modified, #F_Modified_on, .g_Article_DateTime', date: '/' },
{ elem: '.articleInfo .timestamp, #coteret_Modified, #F_Modified_on, .g_Article_DateTime', date: '/' },
שורה 568: שורה 572:
{ telem: ".inner_bar", date:'/'},
{ telem: ".inner_bar", date:'/'},
{ url: 1, match: /\.com.*\/(\d{4}-\d{2}-\d{2})\/.*/, date:['-',[2,1,0]] },
{ url: 1, match: /\.com.*\/(\d{4}-\d{2}-\d{2})\/.*/, date:['-',[2,1,0]] },
{ telem: 'time', remove: [ /\d\d\:\d\d\, /, /.*• / ], removeDatePadding: true }
{ telem: 'time', remove: [ /\d\d\:\d\d\, / ], removeDatePadding: true }
],
],
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }
{ url: 1, match: /\/\/(.*?).themarker/i, defvalue: "www" }
שורה 1,070: שורה 1,074:
{ telem: '.article-date-time, .article-he-date', date: '/' },
{ telem: '.article-date-time, .article-he-date', date: '/' },
{ telem: '.article-date-report-wrap', date: '/' },
{ telem: '.article-date-report-wrap', date: '/' },
{ telem: '.article-publish-date', date: '/' }
{ telem: '.article-publish-date', date: '/' },
{ telem: 'div.tmi-article-reporter-date', date: '/'}, // tmi articles
{ telem: 'time.tmi-article-info-date-time', date: '/'}, // tmi articles
{ telem: 'time.blog-publish-date', date: '/'} // blogs
]
]
]
]
שורה 1,176: שורה 1,183:
{ var: ['detail_data', 'YEAR'] }
{ var: ['detail_data', 'YEAR'] }
],
],
{ str: '' },
[
[
{ attr: ["ab", "value"], match: /^([^ ]*) /, prefix: 'page=' },
{ attr: ["ab", "value"], match: /^([^ ]*) /, prefix: 'page=' },
שורה 1,756: שורה 1,764:
if (typeof curParam.removeifempty != "undefined" && !params[j])
if (typeof curParam.removeifempty != "undefined" && !params[j])
params[j] = 'removeifempty';
params[j] = 'removeifempty';
params[j] = '';


if ((params[j] != '') && (params[j] != undefined)) {
if ((params[j] != '') && (params[j] != undefined)) {