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

אפדעיט
אין תקציר עריכה
(אפדעיט)
שורה 874: שורה 874:
params: [
params: [
{ str: 'אנשים ומחשבים' },
{ str: 'אנשים ומחשבים' },
{ telem: "span.author a" },
{ attr: ["meta[name='author']", "content"] },
[
[
{ telem: ".post_header > h2:nth-child(2)" },
{ telem: ".post_header > h2:nth-child(2)" },
שורה 964: שורה 964:
},
},
{
{
hostname: "www.ch10.co.il",
hostname: "ch10.co.il",
params: [
params: [
{ str: 'חרדים10' },
{ str: 'חרדים10' },
{ telem: '.author' },
{ telem: '.author', remove: ['חרדים 10'] },
{ telem: '.main-post h1 a' },
{ telem: '.main-post h1 a' },
{ url: 1, match: /news\/(\d+)/ },
{ url: 1, match: /news\/(\d+)/ },
שורה 1,138: שורה 1,138:
{ str: "יוטיוב" },
{ str: "יוטיוב" },
{ urlparam: "v" },
{ urlparam: "v" },
{ telem: ".player-microformat-renderer", func: function (str) { return JSON.parse(str).name; }, prefix: "שם=" },
{ telem: "player-microformat-renderer", func: function (str) { return JSON.parse(str).name; }, prefix: "שם=" },
{ telem: ".player-microformat-renderer", func: function (str) { var dur = JSON.parse(str).duration.slice(2, -1), time = new Date(dur * 1000).toISOString(); return dur < 3600 ? time.substr(14, 5) : time.substr(11, 8); }, prefix: "לענג=" },
{ telem: "player-microformat-renderer", func: function (str) { var dur = JSON.parse(str).duration.slice(2, -1), time = new Date(dur * 1000).toISOString(); return dur < 3600 ? time.substr(14, 5) : time.substr(11, 8); }, prefix: "לענג=" },
{ telem: ".player-microformat-renderer", func: function (str) { return JSON.parse(str).author; }, prefix: "ערוץ=" }
{ telem: "player-microformat-renderer", func: function (str) { return JSON.parse(str).author; }, prefix: "ערוץ=" }
]
]
},
},