Mercurial > ec-userscripts
comparison cuffs-hulotte-popup.user.js @ 85:9c8cde985caf
Update standard and fix
| author | nanaya <me@nanaya.pro> |
|---|---|
| date | Thu, 15 Apr 2021 15:01:22 +0900 |
| parents | 86da34e62d29 |
| children | 2c4470b73ad9 |
comparison
equal
deleted
inserted
replaced
| 84:af4f8b25495e | 85:9c8cde985caf |
|---|---|
| 13 | 13 |
| 14 /* global jQuery, stopload */ | 14 /* global jQuery, stopload */ |
| 15 ;(function () { | 15 ;(function () { |
| 16 'use strict' | 16 'use strict' |
| 17 | 17 |
| 18 var $ = jQuery | 18 const $ = jQuery |
| 19 var rules = [] | 19 const rules = [] |
| 20 var i | 20 let i |
| 21 var styleEl | 21 let styleEl |
| 22 | 22 |
| 23 if (document.querySelector('body > #mainContent') != null) { | 23 if (document.querySelector('body > #mainContent') != null) { |
| 24 rules.push('body > :not(#mainContent) { display: none !important; }') | 24 rules.push('body > :not(#mainContent) { display: none !important; }') |
| 25 } | 25 } |
| 26 | 26 |
