Mercurial > ec-userscripts
diff 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 |
line wrap: on
line diff
--- a/cuffs-hulotte-popup.user.js Thu Apr 15 14:56:23 2021 +0900 +++ b/cuffs-hulotte-popup.user.js Thu Apr 15 15:01:22 2021 +0900 @@ -15,10 +15,10 @@ ;(function () { 'use strict' - var $ = jQuery - var rules = [] - var i - var styleEl + const $ = jQuery + const rules = [] + let i + let styleEl if (document.querySelector('body > #mainContent') != null) { rules.push('body > :not(#mainContent) { display: none !important; }')