diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-21 14:03:11 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-21 14:03:11 +0100 |
commit | bac96457a5b53a3f5fa5857e108e9e32515bb02b (patch) | |
tree | c0db5658a7201146e729bef85aecbca2bf1f6caa /src/royal_geographical_society.js | |
parent | c9ea962d4703fdc33fb5af6670383b721e8be3f9 (diff) | |
download | hydrilla-fixes-bundle-bac96457a5b53a3f5fa5857e108e9e32515bb02b.tar.gz hydrilla-fixes-bundle-bac96457a5b53a3f5fa5857e108e9e32515bb02b.zip |
improve some of the fixes and add sample URLs for testing
Diffstat (limited to 'src/royal_geographical_society.js')
-rw-r--r-- | src/royal_geographical_society.js | 25 |
1 files changed, 12 insertions, 13 deletions
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 <jahoti@tilde.team> + * 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 <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. */ -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); |