From bac96457a5b53a3f5fa5857e108e9e32515bb02b Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 21 Feb 2022 14:03:11 +0100 Subject: improve some of the fixes and add sample URLs for testing --- src/royal_geographical_society.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) (limited to 'src/royal_geographical_society.js') diff --git a/src/royal_geographical_society.js b/src/royal_geographical_society.js index 0e983b0..0fa5080 100644 --- a/src/royal_geographical_society.js +++ b/src/royal_geographical_society.js @@ -1,20 +1,19 @@ /** - * SPDX-License-Identifier: Apache-2.0 + * SPDX-License-Identifier: CC0-1.0 * - * Copyright © 2021 jahoti + * Unhide RGS exhibitions page after it loads 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) 2021 Wojtek Kosior * - * 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. */ -document.documentElement.style.visibility = 'visible'; -document.documentElement.style.opacity = '100'; +const unhide_style = "visibility: visible !important; opacity: 1 !important;"; +document.documentElement.setAttribute("style", unhide_style); -- cgit v1.2.3