Stop game info labels from overlapping games on itch.io

put the game info labels above the game rather than fixed to the right side, which can overlap with narrow widths

  1. // ==UserScript==
  2. // @name Stop game info labels from overlapping games on itch.io
  3. // @namespace Itsnotlupus Industries
  4. // @match https://*.itch.io/*
  5. // @grant none
  6. // @version 1.0
  7. // @author itsnotlupus
  8. // @license MIT
  9. // @description put the game info labels above the game rather than fixed to the right side, which can overlap with narrow widths
  10. // ==/UserScript==
  11. const crel = (name, attrs, ...children) => ((e = Object.assign(document.createElement(name), attrs)) => (e.append(...children), e.__init?.(), e))();
  12.  
  13.  
  14. document.head.append(crel('style',{
  15. type: 'text/css',
  16. textContent: `
  17. #user_tools { position: initial; display: block }
  18. #user_tools > li { display: inline }
  19. `
  20. }))