CSPC Leons CSS Fixer

CSS Fix

目前为 2024-09-02 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name CSPC Leons CSS Fixer
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.3-yU1jx
  5. // @description CSS Fix
  6. // @author Mra1k3r0
  7. // @match *://leons.cspc.edu.ph/*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=edu.ph
  9. // @grant none
  10. // @license MIT
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. 'use strict';
  15.  
  16. fetch('https://gist.githubusercontent.com/Mra1k3r0/d478ecdb2296cb5c630d42358bbe330e/raw/cecbfd5a3bbe4423d1ceed4376a498e7faaeeb5c/testcspc.css')
  17. .then(response => response.text())
  18. .then(css => {
  19. var style = document.createElement('style');
  20. style.textContent = css;
  21. document.head.appendChild(style);
  22.  
  23. })
  24. .catch(error => console.error('Error loading CSS:', error));
  25.  
  26. })();