Skip to content

Instantly share code, notes, and snippets.

@Alsweider
Last active April 2, 2025 01:07
Show Gist options
  • Select an option

  • Save Alsweider/af18f38c110f19ae7141b37248a1e625 to your computer and use it in GitHub Desktop.

Select an option

Save Alsweider/af18f38c110f19ae7141b37248a1e625 to your computer and use it in GitHub Desktop.
Userscript to expand the sidebar on film / game pages on Criticker.com to reveal the IMDb link.
// ==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();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment