# As of now 2014-10-11:
#   If no regex capture: use whole URL
#   If regex capture: use capture index 1
ajax.googleapis.com
    ^ajax\.googleapis\.com\/ajax\/libs\/
fonts.googleapis.com
    ^fonts\.googleapis\.com
www.googletagservices.com
    ^(www\.googletagservices\.com\/tag\/js\/gpt\.js)
fonts.gstatic.com
    ^fonts\.gstatic\.com
cdn.jsdelivr.net
    ^cdn\.jsdelivr\.net\/
cdnjs.cloudflare.com
    ^cdnjs\.cloudflare\.com\/ajax\/libs\/
code.jquery.com
    # https://github.com/gorhill/uBlock/issues/357
    # Avoid CSS-based themes, because relative URLs won't work from
    # within a data: URI
    ^code\.jquery\.com\/(?!.*\/themes\/.+\.css)
maxcdn.bootstrapcdn.com
    ^maxcdn\.bootstrapcdn\.com\/bootstrap\/.+\/.+\.js
netdna.bootstrapcdn.com
    ^netdna\.bootstrapcdn\.com\/bootstrap\/
    ^netdna\.bootstrapcdn\.com\/font-awesome\/
    ^netdna\.bootstrapcdn\.com\/twitter-bootstrap\/
platform.twitter.com
    ^platform\.twitter\.com\/widgets\.js

# https://github.com/gorhill/uBlock/issues/270#issuecomment-57913228
# Ref: http://www.asp.net/ajax/cdn
ajax.aspnetcdn.com
    # Avoid CSS-based themes, because relative URLs won't work from
    # within a data: URI
    ^ajax\.aspnetcdn\.com\/ajax\/(?!.*\/themes\/.+\.css)[^?#]+

# Ref: https://tech.yandex.ru/jslibs/
yastatic.net
    ^yastatic\.net\/(?:angularjs|backbone|bootstrap|d3|dojo|ext-core|highlightjs|json2|jquery|jquery-ui|mochikit|modernizr|mootools|prototype|raphael|righjs|scriptaculous|swfobject|underscore|lodash)\/
    
#same as yastatic, deprecated domain but still widely used    
yandex.st
    ^yandex\.st\/(?:angularjs|backbone|bootstrap|d3|dojo|ext-core|highlightjs|json2|jquery|jquery-ui|mochikit|modernizr|mootools|prototype|raphael|righjs|scriptaculous|swfobject|underscore|lodash)\/
