BlogsMarks - Enable Automatic spell checking for inputs Title, Public and Private Tags

Enable Automatic spell checking for input Title and Public Private Tags

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         BlogsMarks - Enable Automatic spell checking for inputs Title, Public and Private Tags
// @namespace    https://blogmarks.net
// @version      0.2
// @description  Enable Automatic spell checking for input Title and Public Private Tags
// @author       Decembre
// @icon         https://icons.iconarchive.com/icons/sicons/basic-round-social/48/blogmarks-icon.png
// @match        https://blogmarks.net/*
// @grant        none
// ==/UserScript==

(function() {
  'use strict';
  var titleInput = document.querySelector('.b #mark-form fieldset input#new-title');
  var publicTagsInput = document.querySelector('.b #mark-form fieldset input#new-publictags');
  var privateTagsInput = document.querySelector('.b #mark-form fieldset input#new-privatetags');

  if (titleInput) {
    titleInput.spellcheck = true;
  }
  if (publicTagsInput) {
    publicTagsInput.spellcheck = true;
  }
  if (privateTagsInput) {
    privateTagsInput.spellcheck = true;
  }
})();