Perplexity Text Size Fix

Forces smaller text in input areas

  1. // ==UserScript==
  2. // @name Perplexity Text Size Fix
  3. // @namespace http://tampermonkey.net/
  4. // @version 2.1
  5. // @description Forces smaller text in input areas
  6. // @match *://www.perplexity.ai/*
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. 'use strict';
  12.  
  13. // Create the notification element
  14. const notification = document.createElement('div');
  15.  
  16. // Style the notification
  17. notification.style.position = 'fixed';
  18. notification.style.top = '10px';
  19. notification.style.left = '50%';
  20. notification.style.transform = 'translateX(-50%)';
  21. notification.style.backgroundColor = 'rgba(0, 0, 0, 1)';
  22. notification.style.color = 'white';
  23. notification.style.padding = '10px 15px';
  24. notification.style.borderRadius = '5px';
  25. notification.style.zIndex = '9999';
  26. notification.style.fontSize = '14px';
  27. notification.style.textAlign = 'center';
  28.  
  29. // Set the notification message
  30. notification.textContent = 'Perplexity fixed the user prompt text being too big, this script is no longer needed you can delete it';
  31.  
  32. // Add the notification to the page
  33. document.body.appendChild(notification);
  34. })();