Shopee ChatWindow Bigger

oversea test

  1. // ==UserScript==
  2. // @name Shopee ChatWindow Bigger
  3. // @namespace https://greasyfork.org/zh-CN/scripts/435141-shopee-chatwindow-bigger
  4. // @version 0.2.3-beta
  5. // @description oversea test
  6. // @author samzong.lu
  7. // @match https://shopee.ph/*
  8. // @match https://shopee.tw/*
  9. // @match https://shopee.sg/*
  10. // @match https://shopee.vn/*
  11. // @match https://shopee.th/*
  12. // @match https://shopee.id/*
  13. // @match https://shopee.com.my/*
  14. // @icon https://www.google.com/s2/favicons?domain=shopee.ph
  15. // @grant GM_addStyle
  16. // ==/UserScript==
  17.  
  18. (function() {
  19. 'use strict';
  20.  
  21. let css=`
  22. .src-pages-ChatWindow-index__container--1qoj1 {
  23. position: relative;
  24. width: 800px !important;
  25. height: 800px !important;
  26. background-color: #fff;
  27. box-sizing: border-box;
  28. border: 1px solid #dcdce0;
  29. border-radius: 4px 4px 0 0;
  30. box-shadow: 0 4px 20px 0 rgba(74,74,78,.16);
  31. transform: translateX(0);
  32. transition: width .25s cubic-bezier(.4,.8,.74,1),height .25s cubic-bezier(.4,.8,.74,1)
  33. }
  34.  
  35. .src-modules-conversationDetail-component-index__zone--Xa4RW {
  36. position: relative;
  37. width: 100%;
  38. height: 660px !important;
  39. }
  40.  
  41. .src-pages-ChatWindow-index__windows--3KL4n {
  42. display: flex;
  43. height: 90% !important;
  44. opacity: 1;
  45. transform: translateX(0);
  46. transition: all .25s cubic-bezier(.4,.8,.74,1);
  47. font-size: xx-large;
  48. }
  49.  
  50. .src-modules-conversationDetail-component-MessageSection-ConversationMessages-BaseMessage-MetaInfo-index__meta-info--10N_d {
  51. font-size: 16px !important;
  52. margin-top: .667em;
  53. text-align: center;
  54. color: #bbb;
  55. }
  56.  
  57. #shopee-mini-chat-embedded,#shopee-mini-chat-embedded button,#shopee-mini-chat-embedded pre {
  58. font-family: Helvetica,Helvetica Neue,RobotoRegular,Droid Sans,Arial,sans-serif;
  59. height: 820px;
  60. width: -280px;
  61. }`;
  62.  
  63. GM_addStyle(css);
  64. })();