Rounded corners Facebook chat

try to take over the world!

  1. // ==UserScript==
  2. // @name Rounded corners Facebook chat
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.12
  5. // @description try to take over the world!
  6. // @author Nylon
  7. // @match https://www.facebook.com/*
  8. // @require https://code.jquery.com/jquery-3.3.1.min.js
  9. // @grant unsafeWindow
  10. // @grant GM_addStyle
  11. // @grant GM_getValue
  12. // @grant GM_setValue
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17. // Your code here..
  18. $(window).on('load', function() {
  19. $('._1aa6').css('border-radius','8px');
  20. $('._5w1r').css('border-radius','8px');
  21. });
  22. $('body').on('DOMNodeInserted', function() {
  23. $('._5w1r._3_om._5wdf').css('border-radius','8px');
  24. });
  25. })();