Chrome extension that adds WYSIWYG editor (and more!) to dou.ua
DOU enhancer Extension
This extension improves UI of https://dou.ua/ by adding WYSIWYG editor and image previews in user comments.
Core features:
- Adds WYSIWYG editor, configured to work only with accepted tags (TinyMCE)
- Adds syntax highlight for code (code should be added by WYSIWYG for correct highlighting)
- Adds previews for images (if comment contains link to jpg/png/gif - image will be added to the end of comment)
- Adds previews for YouTube videos (if comment contains link to YT video)
- You can control preview size or disable media preview completely
- Expands all threads
- Replaces utf-8 emoji with twemoji
Read more
Core features:
- Adds WYSIWYG editor, configured to work only with accepted tags (TinyMCE)
- Adds syntax highlight for code (code should be added by WYSIWYG for correct highlighting)
- Adds previews for images (if comment contains link to jpg/png/gif - image will be added to the end of comment)
- Adds previews for YouTube videos (if comment contains link to YT video)
- You can control preview size or disable media preview completely
- Expands all threads
- Replaces utf-8 emoji with twemoji
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "DOU enhancer", "description": "Chrome extension that adds WYSIWYG editor (and more!) to dou.ua", "version": "0.0.0.24", "icons": { "128": "icon128.png" }, "permissions": [ "declarativeContent", "storage" ], "incognito": "split", "background": { "scripts": [ "js/background.js" ], "persistent": false }, "page_action": { "default_icon": { "16": "images/icon16.png", "32": "images/icon32.png", "48": "images/icon48.png" }, "default_title": "DOU enhancer", "default_popup": "popup.html" }, "content_scripts": [ { "matches": [ "https://dou.ua/*" ], "js": [ "vendor/tinymce/tinymce.min.js", "vendor/tinymce/themes/modern/theme.min.js", "vendor/tinymce/plugins/lists/plugin.min.js", "vendor/tinymce/plugins/code/plugin.min.js", "vendor/tinymce/plugins/codesample/plugin.min.js", "vendor/tinymce/plugins/paste/plugin.min.js", "vendor/tinymce/plugins/autolink/plugin.min.js", "vendor/tinymce/plugins/searchreplace/plugin.min.js", "vendor/tinymce/plugins/template/plugin.min.js", "vendor/tinymce/plugins/link/plugin.min.js", "vendor/tinymce/plugins/autoresize/plugin.min.js", "vendor/tinymce-emoji/plugin.min.js", "vendor/highlightjs/highlight.pack.js", "vendor/uikit/js/uikit.min.js", "vendor/uikit/js/uikit-icons.min.js", "js/content.js" ], "css": [ "vendor/uikit/css/uikit.no-base.min.css", "css/content.css" ] } ], "web_accessible_resources": [ "vendor/tinymce/plugins/*", "vendor/tinymce/skins/*", "vendor/tinymce/themes/*", "vendor/highlightjs/styles/*", "css/tinymce-content.css" ], "options_page": "options.html"}
Read more