zoukankan      html  css  js  c++  java
  • charset

    a - MDN

    charset Obsolete since HTML5

    This attribute defines the character encoding of the linked resource. The value is a space- and/or comma-delimited list of character sets as defined in RFC 2045. The default value is ISO-8859-1.

    Usage note: This attribute is obsolete in HTML5 and should not be used by authors. To achieve its effect, use the HTTP Content-Type header on the linked resource.

    ariya / phantomjs / overview — Bitbucket

    PhantomJS - Scriptable Headless WebKit

    PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript or CoffeeScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.

    The latest stable release is version 1.5 (codenamed "Ghost Flower"). Follow the official Twitter stream @HeadlessPhantom to get the frequent development updates.

    PhantomJS is created and maintained by Ariya Hidayat (Twitter: @ariyahidayat), with the help of many contributors.

    Use Cases

    • Headless web testing. Lightning-fast testing without the browser is now possible! Various test frameworks such as Jasmine, Capybara, QUnit, WebDriver, YUI Test, BusterJS, FuncUnit, Robot Framework, and many others are supported.

    • Site scraping. Access and manipulate webpages with the standard DOM API, or with usual libraries like jQuery.

    • Page rendering. Capture the full contents, even with SVG and Canvas, to an image. Build server-side web graphics apps, from a screenshot service to a vector chart rasterizer.

    • Network monitoring. Monitor network activity, track resource loading, perform load-balancing tests, verify contents optimization, and many others.

    Features

    • Multiplatform, available on major operating systems: Windows, Mac OS X, Linux, other Unices.
    • Fast and native implementation of web standards: DOM, CSS, JavaScript, Canvas, SVG. No emulation!
    • Pure headless (X11) on Linux, ideal for continuous integration systems. Also runs on Amazon EC2.
    • Easy to install: Download, unpack, and start having fun in just 5 minutes.

    Ecosystem

    PhantomJS needs not be used only as a stand-alone tool. Check also some excellent related projects:

    • CasperJS enables easy navigation scripting and common high-level testing.
    • Poltergeist allows running Capybara tests headlessly.
    • Guard::Jasmine automatically tests Jasmine specs on Rails when files are modified.
    • GhostDriver complements Selenium tests with a PhantomJS WebDriver implementation.
    • PhantomRobot runs Robot Framework acceptance tests in the background via PhantomJS.

    and many others companion projects.

    Questions?

  • 相关阅读:
    1044 拦截导弹
    3060 抓住那头奶牛 USACO
    2727:仙岛求药(广搜)
    4906 删数问题(另一种贪心思路)
    1004 四子连棋
    1005 生日礼物
    1031 质数环
    1008 选数
    1073 家族
    2801 LOL-盖伦的蹲草计划
  • 原文地址:https://www.cnblogs.com/lexus/p/2486430.html
Copyright © 2011-2022 走看看