Improved YouTube detection;

added youtube-nocookie privacy version
added new <iframe> embed
main
user1113 13 years ago
parent b647c41578
commit 2504996dbc

@ -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/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$/ }
};
})();
})();