Grammarly for Fiverr Inbox

This script will help to run Grammarly software properly on Fiverr.com

  1. // ==UserScript==
  2. // @name Grammarly for Fiverr Inbox
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description This script will help to run Grammarly software properly on Fiverr.com
  6. // @author Ramin
  7. // @match *://*.fiverr.com/inbox/*
  8. // @icon https://www.google.com/s2/favicons?domain=fiverr.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. var css = `
  13. .textarea-container {
  14. min-height: 38px !important;
  15. }
  16. `,
  17. head = document.head || document.getElementsByTagName('head')[0],
  18. style = document.createElement('style');
  19.  
  20. style.type = 'text/css';
  21. if (style.styleSheet){
  22. // This is required for IE8 and below.
  23. style.styleSheet.cssText = css;
  24. } else {
  25. style.appendChild(document.createTextNode(css));
  26. };
  27. head.appendChild(style);