Jump to content

File:Word count bookmarklet.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Word_count_bookmarklet.png (800 × 526 pixels, file size: 121 KB, MIME type: image/png)

Description Demonstration of a bookmarklet that counts the number of words on the page. The browser shown is Firefox 3.0 with generic "abrowser" branding on Ubuntu.
Date
Source

I made this bookmarklet and took this screenshot of it by myself. Bookmarklet source code:

javascript:alert("There%20are%20about%20"+document.body.textContent.split(/[\s./\u2000-\u206F\u2E00-\u2E7F\u3000-\u303F]+/).length+"%20words%20on%20this%20page.")
This bookmarklet will not work in Internet Explorer.
Author Myself, Mozilla, contributors to Wikipedia
Permission
(Reusing this file)

This screenshot either does not contain copyright-eligible parts or visuals of copyrighted software, or the author has released it under a free license (which should be indicated beneath this notice), and as such follows the licensing guidelines for screenshots of Wikimedia Commons. You may use it freely according to its particular license.

Free software license:
This work* is free software; it is licensed under Mozilla's MPL / GPL / LGPL tri-license.
The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations.

GNU head

This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2 and version 3 of the GNU General Public License for more details.

GNU head This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See version 2.1 and version 3 of the GNU Lesser General Public License for more details.

You may select the license of your choice.

* If the license comes from a Mozilla work released after 2011, please note that in 2012, Mozilla Public License 2.0 was released, and some Mozilla software has been switched to it. See this VP/C section for discussion.

Note: if the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.



Copyrighted by Wikimedia
This is a screenshot of a web page of a Wikimedia Foundation project. Text of Wikimedia projects (except for Wikinews[1] and parts of Wikidata[2]) are licensed under the Creative Commons Attribution Share-Alike 4.0 license and may additionally be licensed under the GNU Free Documentation License (Version 1.2, 1.3, or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts), and are subject to terms of use. The MediaWiki software itself is licensed under the GNU General Public License.

Any other media in this image may be subject to other terms. Logos (if they appear in this screenshot) of the Wikimedia Foundation are Wikimedia trademarks and are subject to Trademark policy.

Note on licenses: Please note that the GPL is for software and its derivatives and the GFDL is for text documentations or other forms of text and their derivatives. This means that the interface design of Wikipedia and all other portions of the MediaWiki software are licensed under the GPL. The actual contents of Wikipedia are licensed with Creative Commons Attribution-ShareAlike 4.0 Unported License and in some cases also with the GFDL.

As such, portions of this screenshot may be licensed under two or three separate licenses. The GPL and GFDL are not the same license; they are only connected through the Free Software Foundation, the creator of the licenses.

  1. Wikinews uses the Creative Commons Attribution 2.5 Generic license, or "CC-BY 2.5".
  2. Wikidata's main, property, lexeme, and EntitySchema namespaces use the Creative Commons Public Domain Dedication, or "CC0". All other namespaces use the Creative Commons Attribution Share-Alike 4.0 license.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

8 July 2009

image/png

c38e1f46dd79467bd7d7d37ee1a0f1f56c91b9a0

124,064 byte

526 pixel

800 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current01:50, 9 July 2009Thumbnail for version as of 01:50, 9 July 2009800 × 526 (121 KB)Remember the dotreplaced non-free Firefox logo with free, generic "abrowser" logo
03:57, 8 July 2009Thumbnail for version as of 03:57, 8 July 2009800 × 526 (121 KB)Remember the dot{{Information |Description=Demonstration of a bookmarklet that counts the number of words on the page. The browser shown is Firefox 3.0 on Ubuntu. |Source=I made this bookmarklet and took this screenshot of it by myself. Bookmarklet source code: <source l

The following page uses this file:

Global file usage

The following other wikis use this file: