Extension:PreToClip

The PreToClip extension adds a "Copy to clipboard"-Button to every &lt;pre&gt;-Tag even autogenerated ones. It works even with firefox.

This extension is using the excellent JavaScript and Flash from https://github.com/zeroclipboard/ZeroClipboard presented on https://zeroclipboard.github.io/

Requirements
Needs ZeroClipboard from https://zeroclipboard.github.io/

Installation
1. Create Folder extensions/PreToClip/

2. Create Folder extensions/PreToClip/ZeroClipboard

3. Download ZeroClipboard from https://zeroclipboard.github.io/ and extract the content of the folder "dist" into the ZeroClipboard-Folder.

4. Store the file below to extensions/PreToClip/PreToClip.php

5. Add a call to it at the end of LocalSettings.php: