Sha256: ed95e5ca98c6d1d0c82790ee922b90b69cbd751157a408f33ed27b407b245108

Contents?: true

Size: 981 Bytes

Versions: 6

Compression:

Stored size: 981 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
##

# Version 0.2
# removed :certainty

WhatWeb::Plugin.define "Prototype" do
  @author = "Andrew Horton"
  @version = "0.2"
  @description = "Javascript library"
  # identifying strings
  # <script src="http://www.20x200.com/js/prototype.js" type="text/javascript" charset="utf-8" >
  # <script type="text/javascript" src="http://www.contre-feux.com/static/js/prototype1.6.0.js"></script>
  # <script src="http://www.portentinteractive.com/js/prototype.js" type="text/javascript"></script>
  # <script type="text/javascript" src="http://www.blogsmithmedia.com/www.bloggingstocks.com/b-c/prototype.js"></script>

  @matches = [
    { name: "js tag", regexp: /<script [^>]*(prototype[^>]*.js)[^>]*/ }
  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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