aboutsummaryrefslogtreecommitdiff
path: root/src/royal_geographical_society.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/royal_geographical_society.js')
-rw-r--r--src/royal_geographical_society.js25
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);