Merge pull request #28 from user1113/patch-1

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

@ -320,11 +320,11 @@
'YaBB': { cats: { 1: 2 }, html: /Powered by <a href=("|')[^>]+yabbforum/i },
'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/ },
'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': { cats: { 1: 12 }, script: /\/yui\/|yui\.yahooapis\.com/, env: /^YAHOO$/ },
'Zen Cart': { cats: { 1: 6 }, meta: { 'generator': /Zen Cart/i } },
'Zend': { cats: { 1: 22 }, headers: { 'X-Powered-By': /Zend/ } },
'Zepto': { cats: { 1: 12 }, script: /zepto.*.js/, env: /^Zepto$/ }
};
})();
})();
Loading…
Cancel
Save