Smart jfm Links: Chrome Extension for Automatic Editing of jfmlinks.dk
Smart jfm Links is a free Chrome extension developed by runol. It falls under the category of Browsers and is classified as an Add-ons & Tools subcategory. This extension aims to assist moderators of jfmlinks.dk by providing automatic formatting capabilities within the WYSIWYG editor on the page.
Upon clicking the browser icon, Smart jfm Links inserts a button into the page's WYSIWYG editor. This button is only added to pages where the editor with the selector "div.ql-editor" is present. The extension offers three types of automatic editor formatting.
Firstly, it converts headings (H1, H2, H3, and H4) to bold text. The heading elements are replaced by elements containing the same text.
Secondly, it adds a "Sponsored text" paragraph to the beginning and end of the editor.
Lastly, it removes empty elements. Any empty H1, H2, H3, H4, and paragraph elements are removed from the editor.
The inserted button can be clicked again to revert the changes.
In the latest version 1.4, the sponsored text has been changed from "Denne tekst indeholder sponsoreret indhold" to "Denne artikel indeholder sponsoreret indhold".