Aurora Premium

Aurora pero con ui fixes

当前为 2024-08-14 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Aurora Premium
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-08-14
  5. // @description Aurora pero con ui fixes
  6. // @author You
  7. // @match https://pomelo.uninorte.edu.co/pls/prod/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=edu.co
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. document.body.onload = async () => {
  16. const auroraPremiumUrl = "https://pastebin.com/raw/YQb9mGGH";
  17. try {
  18. const response = await fetch( 'https://corsproxy.io/?' + encodeURIComponent(auroraPremiumUrl));
  19. const cssContent = await response.text();
  20. const styleElement = document.createElement('style');
  21. styleElement.textContent = cssContent;
  22. document.head.appendChild(styleElement);
  23. } catch (error) {
  24. console.error('Error loading the CSS content:', error);
  25. }
  26. };
  27. })();