Sha256: 50568e689d7c4c2490fd7f8dbca8140e1d5aaf4268c241a77c759af62b73ee9f

Contents?: true

Size: 893 Bytes

Versions: 6

Compression:

Stored size: 893 Bytes

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "CBS-Interactive" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-06-14
  @version = "0.1"
  @description = "CBS Interactive - online content network"
  @website = "http://www.cbsinteractive.com/"

  # Matches #
  @matches = [

    # JavaScript
    { regexp: /<script[^>]+ src="http:\/\/dw\.com\.com\/js\/dw\.js"><\/script>/ },

    # JavaScript # SiteId Detection
    { account: /<script>DW.pageParams = \{siteId:'([^']+)'\};DW.clear\(\);<\/script>/ },

    # NoScript # SiteId Detection
    { account: /<img src="http:\/\/dw\.com\.com\/clear\/c\.gif\?sid=([^"^\s^>^&]+)/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/cbs-interactive.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/cbs-interactive.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/cbs-interactive.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/cbs-interactive.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/cbs-interactive.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/cbs-interactive.rb