Sha256: f369958edb656501be6dec03dbc2f8fb279fb379dc71f686f4d2bd8064e06b48

Contents?: true

Size: 756 Bytes

Versions: 6

Compression:

Stored size: 756 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 "WordPress-Stats" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2012-06-12
  @version = "0.1"
  @description = "WordPress.com Stats"
  @website = "https://wordpress.com"

  # Matches #
  @matches = [

    # JavaScript
    { regexp: /<script src="https?:\/\/(ssl-)?stats\.wordpress\.com\/[^"]+" type="text\/javascript"><\/script>/ },

    # NoScript
    { regexp: /<noscript><img src="https?:\/\/stats\.wordpress\.com\/b\.gif\?v=noscript"/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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