Greasy Fork is available in English.

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

Enable Automatic spell checking for input Title and Public Private Tags

  1. // ==UserScript==
  2. // @name BlogsMarks - Enable Automatic spell checking for inputs Title, Public and Private Tags
  3. // @namespace https://blogmarks.net
  4. // @version 0.1
  5. // @description Enable Automatic spell checking for input Title and Public Private Tags
  6. // @author Decembre
  7. // @icon https://icons.iconarchive.com/icons/sicons/basic-round-social/48/blogmarks-icon.png
  8. // @match https://blogmarks.net/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var titleInput = document.querySelector('.b #mark-form fieldset input#new-title');
  15. var publicTagsInput = document.querySelector('.b #mark-form fieldset input#new-publictags');
  16. var privateTagsInput = document.querySelector('.b #mark-form fieldset input#new-privatetags');
  17.  
  18. if (titleInput) {
  19. titleInput.spellcheck = true;
  20. }
  21. if (publicTagsInput) {
  22. publicTagsInput.spellcheck = true;
  23. }
  24. if (privateTagsInput) {
  25. privateTagsInput.spellcheck = true;
  26. }
  27. })();