Merge pull request #28 from user1113/patch-1

Improved YouTube detection;
main
Elbert Foo 13 years ago
commit 20a566c7c4

@ -320,7 +320,7 @@
'YaBB': { cats: { 1: 2 }, html: /Powered by <a href=("|')[^>]+yabbforum/i }, 'YaBB': { cats: { 1: 2 }, html: /Powered by <a href=("|')[^>]+yabbforum/i },
'Yahoo! Web Analytics': { cats: { 1: 10 }, script: /d\.yimg\.com\/mi\/ywa\.js/ }, 'Yahoo! Web Analytics': { cats: { 1: 10 }, script: /d\.yimg\.com\/mi\/ywa\.js/ },
'Yandex.Metrika': { cats: { 1: 10 }, script: /mc\.yandex\.ru\/metrika\/watch\.js/ }, 'Yandex.Metrika': { cats: { 1: 10 }, script: /mc\.yandex\.ru\/metrika\/watch\.js/ },
'YouTube': { cats: { 1: 14 }, html: /<(param|embed)[^>]+youtube\.com\/v/i }, 'YouTube': { cats: { 1: 14 }, html: /<(param|embed|iframe)[^>]+youtube(-nocookie)?\.com\/(v|embed)/i },
'YUI Doc': { cats: { 1: 4 }, html: /<html[^>]* yuilibrary\.com\/rdf\/[0-9.]+\/yui\.rdf/i }, 'YUI Doc': { cats: { 1: 4 }, html: /<html[^>]* yuilibrary\.com\/rdf\/[0-9.]+\/yui\.rdf/i },
'YUI': { cats: { 1: 12 }, script: /\/yui\/|yui\.yahooapis\.com/, env: /^YAHOO$/ }, 'YUI': { cats: { 1: 12 }, script: /\/yui\/|yui\.yahooapis\.com/, env: /^YAHOO$/ },
'Zen Cart': { cats: { 1: 6 }, meta: { 'generator': /Zen Cart/i } }, 'Zen Cart': { cats: { 1: 6 }, meta: { 'generator': /Zen Cart/i } },

Loading…
Cancel
Save