🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/User:Anne_drew/CopyPlainText
Jump to content

User:Anne drew/CopyPlainText

From Wikipedia, the free encyclopedia
CopyPlainText
DescriptionAdds a "Copy plain text" link to the Tools menu to copy a clean, unformatted version of the current article.
AuthorAnne drew
UpdatedNovember 13, 2025
    (23 days ago)
SourceUser:Anne drew/CopyPlainText.js

CopyPlainText provides a one-click way to copy the plain text of a Wikipedia article, ready for use in other applications. It adds a link named "Copy plain text" to your "Tools" menu.

When you click the "Copy plain text" link, the script will:

  • Get the text of the article you are currently viewing.
  • Clean it up by removing post-article sections like "See also", "Notes", and "References".
  • Convert wikitext headings into simple Markdown-style headings (e.g., ## Heading).
  • Copy this clean article text directly to your clipboard.

The link will briefly change to "Copying..." and then "Copied!" to confirm the text is on your clipboard. This is useful for quickly pasting a clean, readable version of an article into an email, word processor, or note-taking app.

CopyPlainText source Feedback

Installation

[edit]
  1. Go to your common JavaScript and paste in the following line:
    {{subst:iusc|User:Anne drew/CopyPlainText.js}}
  2. Save the page.