Greasy Fork 支持简体中文。

Dictionary.com fullscreen crossword

3/24/2024, 12:07:21 PM

// ==UserScript==
// @name        Dictionary.com fullscreen crossword
// @namespace   Violentmonkey Scripts
// @match       https://www.dictionary.com/e/crossword/*
// @grant       none
// @version     1.0
// @author      popular-software
// @license MIT
// @description 3/24/2024, 12:07:21 PM
// ==/UserScript==

(() => {
  console.log('running userscript: fullscreen crossword');
  const element = document.querySelector('main iframe');
  element.style = `
   position: absolute;
   left: 0;
   top: 0;
   z-index: 7001;
   width: 100vw;
   height: 100vh;
  `
})()