diff options
Diffstat (limited to 'src/accuweather-com-fix/accuweather.js')
-rw-r--r-- | src/accuweather-com-fix/accuweather.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/accuweather-com-fix/accuweather.js b/src/accuweather-com-fix/accuweather.js index d178451..6a5f5ba 100644 --- a/src/accuweather-com-fix/accuweather.js +++ b/src/accuweather-com-fix/accuweather.js @@ -1,19 +1,19 @@ /** - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: CC0-1.0 * - * Copyright © 2021 jahoti <jahoti@tilde.team> + * View Accuweather forecasts without nonfree js. * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org> * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the CC0 1.0 Universal License as published by + * the Creative Commons Corporation. * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * CC0 1.0 Universal License for more details. */ -for (var nonAd of document.querySelectorAll('.ads-not-loaded .non-ad')) nonAd.style.visibility = 'visible'; +for (const node of [...document.getElementsByClassName("non-ad")]) + node.classList.remove("non-ad"); |