A Webextensions Version of the Firefox extension bbCodeXtra, which is legacy (pre Quantum) extension.
This uses the context menu to automate the insertion of various codes (bbCode, HTML, XHTML, Vbulletin, Markdown) using a context menu.
Currently in pre alpha development.
This extension supports Firefox 57 and above.
Users will be able to create their own custom tags and symbols as well as turning on and off code menus. (Not yet implemented)
Wrote the program bbCodeXtra (https://addons.mozilla.org/en-US/firefox/addon/bbcodextra/), which (with his permission) this program hews to as closely as possible.
Additionally, I am using the internatinal language codes he maintained for bbCodeXtra, as well as an almost direct copy of the code he used to generate lists.
Wrote the code used to access the contents of the clipboard, available at https://github.com/NiklasGollenstede/es6lib/, specifically the dom.js file.
The MIT License (MIT)
Copyright 2018 Matthew G. Saroff
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Users are compelled, under a threat of a completely legally non-binding curse, to go outside (weather permitting) and play pirate, or to go outside and make pasta (you can use the store bought stuff, but you should really make your own pasta) on a regular basis.
A regular basis is defined as being on the 5th Tuesday of any month that has one.
Failure to do so will result in the user, and his children, and his children's children, being compelled to enter the service of the Church of the Flying Spaghetti Monster, or to be a pirate. (If you can be a space pirate, do it, space pirates are cool.)
This is profoundly ugly code, and the author assumes no responsibility for any of the following conditions that might develop as a result of reading said code:
- Blindness
- Post traumatic stress disorder
- Hairy palms
- Cancer
- Intestional distress.
- Bad hair. Seriously awful bad hair days.
Seriously, this is Vogon code Javascript, and I keep expecting a bodily organ to leap up and throttle my brain.