-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCriticker Sidebar Expander.user.js
More file actions
30 lines (26 loc) · 1017 Bytes
/
Criticker Sidebar Expander.user.js
File metadata and controls
30 lines (26 loc) · 1017 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// ==UserScript==
// @name Criticker Sidebar Expander
// @namespace http://tampermonkey.net/
// @version 0.0.2
// @description Expands the sidebar on film / game pages on Criticker.com to reveal the IMDb link
// @author Alsweider
// @match https://www.criticker.com/film/*
// @match https://www.criticker.com/tv/*
// @match https://games.criticker.com/game/*
// @icon https://www.criticker.com/favicon.ico
// @license MIT
// @grant none
// @downloadURL https://update.greasyfork.org/scripts/530038/Criticker%20Sidebar%20Expander.user.js
// @updateURL https://update.greasyfork.org/scripts/530038/Criticker%20Sidebar%20Expander.meta.js
// ==/UserScript==
(function() {
'use strict';
function clickMoreOptions() {
let moreButton = document.querySelector('#tip_sidebar_action_more a');
if (moreButton) {
moreButton.click();
}
}
// Direkt beim Laden der Seite ausführen
clickMoreOptions();
})();