Achernar's programming page

I'm still adding new links. Visit in the coming weeks to see updates. Last update: 2023-07-15

Table of contentsTable des matières

Chrome extensionsExtensions pour Chrome

Javascript bookmarklets

Javascript userscripts

CSS userstyle (Non-programming)

Fixing sitesRéparer des sites

Participation in projects of other programmersParticipation à des projets d'autres programmeurs (2020-05-12)

This section is mostly to promote other projects.
My participation is anecdotal. At the very least it proves that I care enough to propose bug fixes.

Contact :
    ilernach@ernma@arernx.arach@ettogmgm:nx.ilnilnet
    GitHub


Chrome extensions

Here is a list of my extensions for google chrome.

Alias bookmarks (2020-05-05)

Set aliases for your bookmarks. Aliases are called from the omnibox: "/ aliasName [params]" and from the popup (ctrl+.)

This extension mimics the ability of Firefox and mozilla based browsers to use aliases as a shortcut to call specific bookmarks.

Important notice: (2020-05-05)
With the lastest chrome version (80+) you absolutely need to change one of "Alias Bookmarks" options. Check the option "Use alternate method to execute bookmarklet code". Failing to do this will prevent bookmarklets from working properly. The next version of Alias Bookmarks will come with this option enabled by default.

It allows you to set alias/shortcut for your URL or javascript bookmarklets or folders, directly in the bookmark manager. You can then call an alias from chrome's omnibox or from the extension's popup window (keyboard shortcut: "ctrl+.").
Simple "http(s)" bookmarks as well as javascript bookmarklets can be called with or without parameters.
If it works as a bookmark, it works as an alias.

Since your aliases are stored with your bookmarks, exporting or transfering them also transfers the aliases.

Starting with version 0.9.6.15, folder alias is available. It can be used to open static pages, or to make a group search on multiple search sites (examples provided).

Version 0.9.8 introduces auto-completion in popup window (see options page to enable).

Direct link to chrome web store


Attribuez des alias à vos favoris. Les alias sont appelés dans la barre d'adresse: "/ nomAlias [params]" ou depuis le popup (ctrl+.)

Cette extension imite la capacité de Firefox et des navigateurs basés sur le moteur mozilla, d'utiliser un alias comme raccourci pour appeler l'un de vos favoris.

Remarque importante: (2020-05-05)
Avec les dernières versions de chrome (80+) il est devenu indispensable de changer une des options d'Alias bookmarks. Cocher l'option "Utiliser une méthode alternative pour exécuter les bookmarklets". Faute de quoi les bookmarklets ne fonctionneront pas correctement. La prochaine version d'Alias Bookmarks activera cette option par défaut.

L'extension vous permet d'attribuer un alias/raccourci à un lien http, à un bookmarklet javascript, et aussi à un dossier, directement dans le gestionnaire de favoris. Vous pouvez alors appeler un alias depuis la barre d'adresse de chrome, ou depuis la popup de l'extension (raccourci clavier: "ctrl+.").
Les favoris avec un lien "http(s)", ainsi que les favoris bookmarklets peuvent être appelés avec ou sans paramètres.
Si un lien fonctionne en favori, il fonctionne aussi comme alias.

Vos alias étant stockés dans les favoris, l'exportation ou le transfert de ceux-ci copie aussi les alias.

A partir de la version 0.9.6.15, les alias de dossier sont disponibles. Un alias de ce type peut-être utilise pour ouvrir un groupe de pages statiques, ou pour effectuer une recherche sur un ensemble de moteurs de recherche (exemples fournis).

La version 0.9.8 introduit l'auto-complétion dans la fenêtre popup (voir la page d'options pour activer).

Lien direct vers le chrome web store

Extension log

Logs when an extension is installed, uninstalled, upgraded, enabled or disabled. Also keeps track of each chrome update.

Keep track of all your old extensions, as well as current and past states of the extensions still installed.
"Extension log" logs when an extension is installed, uninstalled, upgraded, enabled or disabled.

View all these informations in a table sorted by name, state (enabled, disabled, uninstalled), extension type, or id. With a list of events associated with each extension ever installed (as long as "Extension log" is always enabled).

Aside from its main purpose, "Extension log" records a log of the date and version of every chrome update.

You can save the whole log history, in case of crash. Right click the extension icon and select "Export log" (save the whole page or one of the textareas). No restore function available yet, but you can access the stored values manually from the background page's javascript console (and update from there if necessary).

EL allows you to save extensions packages in its original format or as a zip file.


2018-12-31: (0.5.6)
Badge used to warn user when an event occurs: now fully functional.
You can now import options, and chrome version history from a backup. Import of events is still in beta.

2018-09-12: (0.5)
Extension packages can be saved as CRX and/or ZIP files.
The list of current permissions for all extensions is displayed in the tooltip of their version number.

2018-09-04: (0.4.11)
Added support to download CRX packages.

2018-08-22: (0.4.10.1)
Some minor fixes and layout improvements.

2018-07: (0.4.9.8)
Stable version. Still missing import data feature. Almost done but development halted at least for several weeks. Sorry.

2018-06-19: (0.4)
Still in beta, but shouldn't crash.

Direct link to chrome web store

Tiny Proxy

A small footprint proxy extension. Allows simple and complex settings. Quick and easy to switch between proxies.

Online help is available here.

Tiny proxy allows you to manage multiple proxy servers, and to change easily between them.

The current proxy settings are defined by Tiny Proxy as PAC scripts.

This extension is a work in progress. Your input is welcome (and please, do).

TP implements the following types of proxies:

TP allows you to add temporary proxy rules (see popup). This way you can combine multiples proxy profiles.

Notes:


2020-03-03 (0.6.3): bugs fixes + export of a subset of proxies
2019-12-07 (0.6): Strengthened handling of user provided PACscripts, color-coded errors while editing, drag & drop (editing)...
2019-10-23 (0.5): Bugs fixes and new features (import proxy servers by copy/paste list from website)
2019-07-05 (0.4.3.5): Bug fixed for proxy names using unicode chars. Chrome refuses non-ASCII chars in proxy script. Symbols used in other charsets/languages won't generate a proxy error anymore. Hopefully...
2019-07-04 (0.4.3.3): bugs fixes, including failure with servers with per-protocol additional servers
2019-07-02 (0.4.3): added online help page
2019-06-25 (0.4.2): added: draggability to proxies list in "switch" and "pool".

Direct link to chrome web store

Javascript bookmarklets

View list of images used by the current page (2018) (2021-01-19)

This bookmarklet is based on one of Jesse's Bookmarklets. It is a modified and more complete version of "list alts" in the "Validation Bookmarklets" category. (the list of the many enhancements is not available yet)

This bookmarklet lists all images used in <img> tags and in css styles. It also tries to list alternate versions of images as provided in srcset attributes.
It shows them in a list, limiting their maximum size to avoid overflowing the display. Simply click an image to open it in its own tab.

The source is in this link(*). Current version (beta): 2021-01-19
Click on the link to display the list of images used in this page.

(*) drag & drop on your bookmark bar to add the link to your bookmarks.

IMDb - enlarge images in cast listing (x2)

This bookmarklet increases the size of all images in the cast list on IMDb. It doubles the width/height and replaces the current image with an image of the appropriate dimensions. Can be applied multiple times if x2 is not enough.

The source is in this link(*). Current version: 20181025

(*) drag & drop on your bookmark bar to add the link to your bookmarks.

IMDb cast listing

Javascript userscripts

GitHub - add links to sort by most recently updated (2018-12-27) (2023-04-08)

A link "(r)" is added in the two tabs "Issues" and "PR'. It is used as a single click shortcut to the corresponding listing sorted by "Recently updated".

GitHub tabs

And in the GitHub page header (since 2019-11-22).

GitHub tabs

On the page displaying all your Pull requests, or Issues, a new category ("Commenter") now appears (added 2019-11-28).
Clicking this button will display all the issues/pr in which you made a comment. They might not appear in the other categories.

GitHub commenter

GitHub commenter

Get the script from greasyfork.org
The script has its own GitHub page.

GitHub - flip comparison between forks/branches - add an icon to swap sides when comparing changes

This userscript adds an icon to swap the sides of a comparison. It can be used when you need to sync your fork to the original repository.

GitHub flip icon

The script has its own GitHub page.

Gmx / web.de - re-enable email "standalone" view (separate window)Gmx / web.de - réactiver l'ouverture des emails dans une fenêtre popup (2020-01-17) (2023-03-28)

Early January 2020 or late December 2019, Gmx made a modification that changed the behavior of the "open email" icon (see screenshot). Now it opens the emails within the gmx webmail interface instead of opening a popup window.
The functionnality is still available, but I could not find an option in the interface to change it. So here is a userscript to do that.

The script adds a checkbox next to the buttons toolbar (see screenshot). When checked the popup behavior is enabled, when unchecked it's the current default. The script remembers your choice.

The script offers 2 possibilities to open an email in a separate popup window:

  • click the "Open email" icon in the email listing (see screenshot). It will open a popup if the checkbox is checked.
  • when a message is opened, ctrl+click the "Fullscreen" button next to the "Save" and "Print" icons/buttons. A pop is opened regardless of the checkbox state.

On the first installation, the option is automatically set to checked.
If the userscript is installed outside of a script manager (Tampermonkey, Greasemonkey, Violentmonkey, ...), it uses an alternative method to store the checkbox state. It remembers the state as long as the window/tab is open.

The script has been tested on gmx.net , gmx.com , gmx.fr , gmx.es , gmx.co.uk , gmx.at , gmx.ch , web.de .

As of July 1st 2020, gmx has removed this function on all versions of its site.
Starting with v0.6 (July 12), the script tries to mimic how the functionality worked. It opens a popup with the email displayed. It does this by duplicating a frame of the site, and hides the nonrelevant elements of the page: the listing, the ads panels, and until they can be used correctly inside the popup, the button bar.
If, when using the popup, you see elements appearing that shouldn't, please contact me so I can fix it.
August 4th 2020, again gmx internal working has changed. The popup can't display the message as it did. I have to find another work-around...
August 5th 2020, the new version (0.6.2) revives the popup view.
February 10 2021, fix code to handle minor modification of HTML of the page.

Get the script from greasyfork.org

Début janvier 2020 ou fin décember 2019, Gmx a effectué des modifications qui ont changé le comportement de l'icône "Ouvrir e-mail" (voir capture d'écran). Maintenant cela ouvre l'email dans l'interface webmail au lieu d'une fenêtre popup.
La fonctionnalité est toujours disponible, mais rien dans l'interface ne permet de la changer. Voici donc un userscript pour le faire.

Le script ajoute une case à cocher dans la barre de boutons (voir capture d'écran). Quand elle est cochée, l'ouverture de la fenêtre popup est activée. Quand la case est décochée cela rétablit le comportement actuel par défaut. Le script garde en mémoire votre choix.

Le script offre 2 possibilités d'ouvrir un email dans une fenêtre popup séparée:

  • cliquer l'icone "Ouvrir email" dans le listing des emails (voir capture d'écran). Une fenêtre popup s'ouvrira si l'option est activée.
  • quand un message est ouvert, ctrl+cliquer le bouton "Plein écran" à côté des icones/boutons "Sauvegarder" et "Imprimer". Une popup s'ouvrira quel que soit l'état de la case à cocher.

L'option est automatiquement cochée au moment de l'installation du script.
Si le script est installé en dehors d'une extension de gestion de scripts (Tampermonkey, Greasemonkey, Violentmonkey, ...) il utilise une méthode alternative pour sauvegarder l'état de l'option. Il s'en souvient tant que la fenêtre/onglet est ouverte.

Ce script a été testé sur gmx.net , gmx.com , gmx.fr , gmx.es , gmx.co.uk , gmx.at , gmx.ch , web.de .

Au 1er juillet 2020, gmx a retiré cette fonction de toutes les versions de son site. Ce script ne fonctionne plus actuellement.
A partir de la version v0.6 (12 juillet), le script essaie de simuler le fonctionnement de cette option. Il ouvre une fenêtre popup contenant le message. Pour cela il duplique une "frame" du site, et cache les éléments inutiles de la page : la liste, les panneaux de publicité, et jusqu'à ce que cela fonctionne correctement dans la popup, la barre de boutons.
Si quand vous utilisez la popup, vous voyez des éléments qui ne devraient pas y être affichés, s'il vous plaît, contactez-moi pour que je puisse corriger.
4 août 2020, le fonctionnement interne de gmx a encore changé. La popup ne peut plus afficher le message directement. Je dois trouver une autre méthode. Suite au prochain épisode...
5 août 2020, la nouvelle version (0.6.2) rétablit l'affichage du message dans une fenêtre séparée.
10 février 2021, correction suite à une petite modification du code HTML de la page.

Le script est disponible sur greasyfork.org

Gmx standalone

Gmx / web.de - show new unread foldersGmx / web.de - marquer nouveaux dossiers non-lus (2020-03-23) (2021-03-21)

Gmx new unread
This userscript highlights the folders where new emails have arrived by using a red background on the message count. It keeps track of how much unread emails there is in each folder, and which one are marked, so that this info isn't lost when you close the window or logout.

A folder is unmarked when the unread count decreases (you've read an email). You can also unmark a folder - without the need to read a message - by pressing CTRL + left-clicking the folder's spanner next to the message count (see screenshot).

Upon installation of the script, you must reload the webmail page/tab. Folders will then be marked when new emails are received.

Notes:

  • Supports multiple accounts on the same domain.
  • Compatible with gmx.net, gmx.com, gmx.fr, gmx.es, gmx.co.uk, web.de, (and gmx.at , gmx.ch which use gmx.net).
    Contact me if there are other domains. But it should work correctly for these domains too.
  • If you are reading your emails in a private tab, tampermonkey needs to be configured to run in private mode. And the "Security" option "Store data in incognito mode" needs to be set to "Permanent" if you want the script to store its data (marked folders and unread count).

This is a work in progress. I can add an option interface to change the marked color (if you are already using userstyles to change the default colors, and red doesn't work well) as well as other settings (eg. never mark specific folders).

I have another userscript for gmx ("standalone view") to add the possibility to open an email in its own stand-alone popup window (as it used to be).

If you're german or spanish, and find this script useful, you can propose translation of this text in your language. Any help is welcomed.

Get the script from greasyfork.org


Ce userscript marque les dossiers où de nouveaux emails sont arrivés en colorant le fond du compteur en rouge. Il garde en mémoire le décompte des messages non-lus de chaque dossier, ainsi que l'état marqué, afin de pouvoir les réutiliser après que vous ayez fermé l'onglet, ou que vous vous soyez déconnecté.

Un dossier repasse a l'état non-marqué quand le compte des messages non-lus diminue (vous venez d'ouvrir un email). Vous pouvez aussi dé-marquer un dossier en appuyant sur la toucher CTRL pendant que vous cliquez sur le symbôle de clé situé à côté du compteur (voir capture d'écran).

Au moment de l'installation du script, vous devez recharger la page/l'onglet du webmail. Les dossiers seront marqués dès l'arrivée de nouveaux messages.

Notes:

  • Supporte plusieurs comptes sur le même domaine.
  • Compatible avec gmx.net, gmx.com, gmx.fr, gmx.es, gmx.co.uk, web.de, (et gmx.at , gmx.ch qui utilise gmx.net).
    Contactez-moi si d'autres domaines existent. Mais le script devrait aussi fonctionner sur ces domaines.
  • Si vous lisez vos email dans un onglet privé, tampermonkey doit être configuré pour fonctionner en navigation privée. Si vous voulez qu'il garde en mémoire l'état lu/marqué/non-lu en navigation privée, vous devez aussi mettre l'option "Sécurité"/"Enregistrer les données dans le mode de navigation privée" en "Permanent".

Ce script est toujours en développement. Si vous le désirez, je peux ajouter un interface pour modifier des options: changer la couleur du marqueur (si vous utiliser des styles pour modifier les couleurs par défaut, et que le rouge ne convient pas), et d'autres (ex: ne jamais marquer certains dossiers).

J'ai un autre script pour gmx ("standalone view") pour redonner la possibilité d'ouvrir un email dans sa propre fenêtre (comme c'était le cas auparavant).

Si vous être allemand ou espagnol, et que ce script vous plaît, vous pouvez m'envoyer la traduction de ce texte dans votre langue. Toute aide est la bienvenue.

Le script est disponible sur greasyfork.org

Google - dismiss cookies warningGoogle - supprime l'avertissement de cookies (2020-10-02) (2022-07-13)

This userscript auto-agrees to the cookie warning dialog. The dialog should only appear once.

The popup is not hidden, will flash while it is dismissed by the script and disappear for ever (until you clear your cookies). It's on purpose in case the script fails and leave you in a state where google constantly asks the same question.

If you are really fed up with cookie warnings on many sites, I suggest installing an extension that handles it automatically (including for google). I can suggest one that works well for chrome and firefox. On the add-on/extension store, search for: I don't care about cookies

Note: google regularly changes the style names. This could break the userscript. Please post a comment if this is the case for you.

2021/04/02: Google has modified the display of the dialog. The script has been fixed. Report here if it still fails for you.
The new dialog is a little bit different. The remark on Firefox and the userscript managers can be disregarded if the older version of the dialog is no longer used by google.
Note for Firefox users: If you are using tampermonkey as userscript manager, this script won't work. There is a bug in Tampermonkey and Tampermonkey beta - as well as Greasemonkey - which prevents the script to be executed on the popup. Other scripts from other programmers might not work properly too; use the solution below.
Solution for Firefox: As far as I know, only one userscript manager works properly: ViolentMonkey. Feel free to install it to run this userscript.

Get the script from greasyfork.org

Ce script accepte automatiquement l'avertissement sur les cookies. Le dialogue ne devrait apparaître qu'une fois.

La popup n'est pas cachée, et apparaît un court moment le temps que ce script la confirme. Elle ne devrait plus réapparaître (jusqu'à ce que vous supprimiez les cookies). Ceci à dessein pour éviter une problème si le script échoue et que google continue à vous poser la même question.

Si vous en avez marre des avertissements de cookies présentés par de nombreux sites, je vous suggère d'installer une extension qui le gère automatiquement (y compris pour google). Je peux en suggérer une qui fonctionne bien bien sur chrome et sur firefox. Faites une recherche sur le texte: I don't care about cookies

Note: google change réglièrement le nom des styles. Cela peut casser le script. Si c'est votre cas, n'hésitez pas à poster un commentaire.

2021/04/02: Google a modifié le dialogue des cookies. J'ai corrigé le script. Rapportez tout problème si vous en rencontrez encore.
Le nouveau dialogue est légèrement différent. La remarque sur Firefox et les gestionnaires de userscript peut être ignorée si l'ancienne version du dialogue n'est plus utilisée par google.
Note pour les utilisateurs de Firefox : Si vous utilisez tampermonkey en tant que gestionnaire de userscripts, ce script ne fonctionnera pas. Il y a un bug dans Tampermonkey et Tampermonkey beta - ainsi que dans Greasemonkey - qui empêche le script d'être exécuté sur la popup. D'autres scripts provenant d'autres programmeurs peuvent aussi rencontrer ce problème et ne pas fonctionner correctement; utilisez la solution çi-dessous.
Solution pour Firefox : Pour autant que je sache, un seul gestionnaire de scripts fonctionne correctement : ViolentMonkey. Libre à vous de l'installer.

Le script est disponible sur greasyfork.org

Google cookie dialog

Google - fix TLD linksGoogle - corriger l'extension TLD des liens

This fixes regional TLDs in google links (to other services).

On its homepage (www.google.com, www.google.co.uk, www.google.be, or whichever TLD is used), and on the search result pages, google directs some of its internal links to the google domain associated with the TLD used for the geographic position of your IP address. This means that if you want to use a google TLD of another country (or the .com from outside the US), or if you're travelling and still want to use your home TLD, you'll end with links to the local TLD.

Google search - TLDs

This userscript rewrites every link that doesn't use the .com TLD or the TLD of the current page, and replaces every non-matching TLD with the current TLD. In the screenshots, all the tagged links are modified to use the page TLD. (Read the github page for a more complete explanation)

More infos and screenshots on the github repository.
Get it from GitHub. (and click the "Raw" button to load it into tampermonkey)

Ce script corrige le domaine de premier niveau ("TLD", ex: .com .fr .ca) des liens vers d'autres services de google.

Sur sa page d'accueil (www.google.com, www.google.be, www.google.fr, peut importe le TLD utilisé), et sur les pages de résultats, google redirige certains de ses liens vers le domaine associé au TLD utilisé par défaut dans la zone géographique de votre adresse IP. Cela signifie que si vous voulez utiliser le domaine TLD d'un autre pays (ou .com en dehors des États-Unis), ou si vous voyager et voulez continuer à utiliser votre TLD, vous allez vous retrouver avec des liens vers le TLD local.

Google search - TLDs

Ce script réécrit les liens qui ne finissent pas en .com ou avec le TLD de la page actuelle, et le remplace pas le TLD de la page. Dans la capture d'écran, tous les liens marqués (carré rouge) sont modifiés pour utiliser le TLD de la page. (La page github donne plus de précisions, en anglais)

Plus d'infos et de captures d'écrans sur github.
Le script est disponible sur GitHub. (cliquer le bouton "Raw" pour charger automatiquement dans tampermonkey)

IMDb - fix links (2021-04-23) (2021-09-12)

This script removes the tracking elements from all links on imdb pages.
It keeps other parameters intact: search query, hash element.

For me, the usefulness of the script is mainly to get back uniformity in pages urls.
With a tracking element, the same page can be linked with different urls, and your browsing history won't show a page as viewed (with a link in a different color) even if you have viewed it previously.

Example:


Note (2021-08-17) : the new layout for the "title" page (film/episode) doesn't color visited links with a different color. I'm currently testing a new userstyle that fixes this as well as a couple of other things (trying to style it like in the old design).

Get the script from greasyfork.org

Look at my other IMDb's fixes: "fix title page / title page old layout" , "fix rating" , "Stop scripts" , "Fullscreen imageviewer" , "Set default user reviews sorting"

IMDb - fix rating (2021-04-23) (2023-05-15)

This userscript uses IMDb's raw vote values to re-compute the rating (and the total of votes) of the film, without the bias included by their algorithm. It replaces the displayed value with the result and tells you if there is a difference.
It also allows you to alter the result based on some basic preferences.

You can choose which votes to use:

You can discard:

The userscript is active on the "title" page, the "title/reference" page, the episodes list page. There are 2 options to enable this also for the "chart" page (top 250) and "search" page ("/search/" is in the path)

The script configuration menu can be opened by `ctrl + alt + left-click`-ing the rating value, and, on the page with more than one rating, the title element of the page (eg. "Episode List"). You can also click your userscript manager's icon to open its popup, and click the "Settings" line next to the userscript name.


I've verified that it works in both tampermonkey and violentmonkey.

The script gets the values by downloading `imdb.com/title/tt0000000/ratings...` in the background, storing the data and using it for a period of 16 hours (configurable).

For pages with multiple items, when it needs to fetch the values from the server, it does it without hammering the server. This means that it could take several seconds to fill all the elements. It's almost instantaneous when the values are cached. Note that "aggregate of US and non-US voters" is particularly long to load since it needs to get 2 sets of data per film/episode.

Get the script from greasyfork.org

Look at my other IMDb's fixes: "fix title page / title page old layout" , "Fix links" , "Stop scripts" , "Fullscreen imageviewer" , "Set default user reviews sorting"

IMDb - Set default user reviews sorting (2021-10-08)

This small userscript allows you to set the default sorting option for the "User reviews" page when opening it from a link on the title page (and from its "reference" version)

By default, without modifying the setting, the default sorting is now set to "Helpfulness". It was the default until at least the first half of 2021.

To access the small menu - only available on the title page, or the reference title page - scroll to one of the "User reviews" links, press and maintain CTRL+ALT and click the link with the mouse's left button. (Due to the way the page is designed, your first and maybe your second click could be ignored)

The menu should opens a little below the link. You can then select the default option (including choosing IMDb's default).
The choice is saved immediately and the links are modified (you can move your mouse over them to see the modification).

IMDb review sorting - config

This userscript has been tested on Firefox and chrome with Tampermonkey or Violentmonkey.

Look at my other IMDb's fixes: "fix title page / title page old layout" , "fix rating" , "Fix links" , "Stop scripts" , "Fullscreen imageviewer"

Get the script from greasyfork.org

IMDb - stop scripts (2021-08-24) (2022-04-10)

The userscript has been tested on chrome and firefox. If you encounter a problem, please post a message. I'm might have something to fix to make it work for you.

Every IMDb page loads more than 30 scripts (almost 50 on the new "title" page). The execution of these script takes a toll on the loading time of the page (from 2s to 10s, depending on the page). But it depends on how powerful your computer is.
Most of the scripts are used to display widgets (on the homepage or on the new title page) or track the user. They are also used to display the suggestion box of the search field. At the end only 4-5 of all the scripts are loaded. The rest is blocked by this userscript.
In fact it prevents them from being executed, but doesn't prevent the browser from loading them. If you have an ad-blocker like uBlock Origin, you can double the effect by adding some rules (see below). But be warned that you'll have to check this page regularly to see if the block list changes (mine hasn't changed since I started using this script almost 2 years ago, in late 2019). Anyway, blocking at "an ad-blocking" level is not necessary.

The blocked scripts are loaded in the following circumstances:

All images below when the search field is focused (user is ready to type).
The search field before typing:
IMDb search field

during, and after typing:
IMDb search field

The search field thereafter, or on the homepage, or when the userscript is not applied (all scripts loaded):
IMDb search field

The userscript has been tested on chrome and firefox. If you encounter a problem, please post a message.

Get the script from greasyfork.org

Look at my other IMDb's fixes: "fix title page / title page old layout" , "fix rating" , "Fix links" , "Fullscreen imageviewer" , "Set default user reviews sorting"

Filter list to use with uBlock Origin. Copy and paste in your "My filters" tab: (last modified: 2022-03-22)

! << replace with the date at which you add this block in you filter list >>
! 5 filters used (but not needed) to help the userscript: https://greasyfork.org/scripts/431311-imdb-stop-scripts
! speed up imdb page load. Many scripts loaded from there. But still works without them.
||m.media-amazon.com/images/I/*$script,domain=www.imdb.com
! restore search suggestion (combined with userscript)
@@||m.media-amazon.com/images/I/*?$script,domain=www.imdb.com
! 20210811 20220322: new "title" layout (film/episode)
||cloudfront.net/_next/static/$script,domain=www.imdb.com
! 20210811: killing scripts uses 100% cpu caused by this:
www.imdb.com##.ipc-loader__circle,.ipc-loader__dot:style(animation: unset !important)
!  (if :style is not supported by adblocker) www.imdb.com##svg.ipc-loader
! 20210811 20220322: (new "title" layout) restore search suggestion (combined with userscript)
@@||cloudfront.net/_next/static/*?$script,domain=www.imdb.com
! === END of filters used for userscript: https://greasyfork.org/scripts/431311-imdb-stop-scripts
Adding these filters alone (without the script) achieves the same result. Except that the search field suggestion won't work, the homepage will have some parts missing, the image viewer won't be able to show previous or next image.

Instagram - browse not loggedInstagram - naviguer non-identifié (2020-05-10) (2023-04-05)

This script inserts a stylesheet to hide the small non-blocking "login" dialog, and the "login to continue" blocking dialog. It also auto-accepts the cookies dialog.

It checks every link on the page, as well as the ones added when scrolling down. And fixes all these links so you can click on them without having to use the right-click menu "Open link in a new tab".
Left-click and CTRL + Left-click now work as expected.

Unfortunately, "stories" and "tagged" links can't be unlocked. While for other links, a script locks them, in this particular case the content is not even sent to you browser if you're not logged in.

Get the script from greasyfork.org

Ce script insère une feuille de style pour cacher le petit dialogue non-bloquant "Se connecter", et le dialogue bloquant "Connectez-vous pour continuer". Il accepte automatiquement le dialogue au sujet des cookies.

Il vérifie tous les liens de la page, ainsi que ceux ajoutés quand vous la faites défiler. Et corrige ces liens pour pouvoir les utiliser sans avoir à ouvrir le menu clic-droit et à cliquer "Ouvrir le lien dans un nouvel onglet"
Clic-gauche and CTRL + Clic-gauche fonctionnent maintenant normalement.

Malheureusement les liens "histoires / stories" et "identifé(e) / tagged" ne peuvent être débloqués. Contrairement aux autres liens qui sont seulement bloqués pas un script, dans ce cas particulier le contenu n'est même pas envoyé à votre navigateur si vous n'êtes pas connecté.

Le script est disponible sur greasyfork.org

No Google doodle (2021-04-14) (2023-02-14)

This script is my attempt to get rid of google doodles on Google search homepage.
It will leave the doodle unchanged on the result pages, since it's not intrusive or animated.
Starting with version 0.7, the small doodle on the result pages is also removed (as well as the background image in the top bar).

If you have any doodle still appearing anywhere, please post the url immediately. I need the regional domain to test in the same conditions as you. And I have less than 24 hours to test.

Get the script from greasyfork.org

Style shadowDOM with userstyles (2023-02-10) (2023-02-12)

This userscript allows Stylus' users to style shadow-DOM elements that are by definition out of reach of global stylesheets.

Currently recognized userstyles managers are: "Stylus", "User JavaScript and CSS", "xStyle", "Stylish".

Any style rule whose selectors includes :host or :host-context will be injected into the shadow-root node.

By default the userscript is not running on any website. You'll have to edit the script settings (eg. in tampermonkey): open the userscript, go to the script's "settings" tab and add the mask of the website(s) you want to run it on (don't forget the trailing *).

To test:


Get the script from greasyfork.org

shadow without style shadow styled

Translate webpage (2023-07-14)

This userscript mimicks chrome's built-in page translator. It can be used as a userscript (from the context menu, or, always on) or as a bookmarklet (clicking the bookmark translates the page). Works in Firefox and in chrome. It has been tested with Tampermonkey and Violentmonkey.


Since June 2023, the built-in translation in old versions of chrome has stopped working. This sparked the idea to bring the feature back to those users who are still sticking to their old programs, and make it more flexible and browser independant. It should works in all versions of Firefox and chromium-based browsers. If you experience problem in older versions, feel free to contact me.
The only cave-at is that it uses google translate. You are warned.

Webmasters have always been able to add a widget to integrate the service to their site to allow their foreign visitors to translate the page on the fly. (Look at this example here. Click the earth icon in the black toolbar).
The userscript is using this script on all pages, which allows complete inline translation of pages and frames.


When used as a bookmarklet, it integrates the translation toolbar with the default capabilities. Except for a few css tunings to fix some issues:

The target language is saved site by site in a session cookies. A default language can be set. See below in the section on how to install as a bookmarklet.

When no target language


When used as a userscript, buttons and menu items are added:

The menu has other commands: (items are usually hidden and are all displayed here as a convenience)

Menu as it really appears

forcing the toolbar language


How to use

Note that the userscript has the advantage to update automatically when a new version is released. For the bookmarklet you'll have to do it yourself.

As a userscript (context menu)
By default when installed in Tampermonkey, the userscript is accessible through the browser's context-menu of the page. Right-click over the section of a page (eg. a frame), click on "Tampermonkey" and then on the userstyle's name in the submenu. This is the prefered method if you don't need to translate too often.
This functionality is not available in Violentmonkey where the other method is used.

As a userscript
In this configuration, all the websites will be subjected to translation. You can disable this for each site separately, but the default option is to translate. You can configure the script to work the opposite way: never translate unless called from the trigger, or if the site is set to auto-translate.

This appears (hidden by default) in the top right corner of a page where auto-translation is disabled. Move the mouse pointer there where an area 3 by 3 pixels triggers the display of the symbol. Click it to start the translation. The translation will start, or the "Select language" dialog appear if the script doesn't know the language to use.


Switching between the 2 configurations (Tampermonkey only)

In Tampermonkey, open the userscript, click the "Settings" tab. In the 2nd section, "General" "Run at", change between Default (or context-menu) and document-idle. When document-idle is set the context menu entry disappears.


As a bookmarklet
  • Create a new bookmark that you place for easy access in the bookmarks toolbar or in a submenu of the bookmarks toolbar.
  • Open the bookmarks manager and edit that bookmark.
  • Visit the page with the userscript source code. Select everything below ==/UserScript==, starting with javascript: up until the end.
  • Go to the bookmark manager and paste in the url field of the bookmark. If you want to set a default target language, save the bookmark without closing the manager.
  • Edit the bookmark. Go to the url field. Hit the "home" key to go to the beginning of the code
  • Type your language code (country code, en for english, fr for french, etc.) between the "" after var defLang=
    If you don't know the country code, type a ? . The userscript will try to use the language of the browser.

  • If the language used to display the toolbar isn't what you want, you can do the same thing but between the "" after toolbarLang=

Notes

If a cookie is set, it has precedence over other configurations.

The session cookie is always set when a translation is attempted. Except for sites where cookies are blocked by configuring your browser.


The userscript contains several translations for the added buttons and menu items. Except for languages that I know, or poorly know, they are taken as-is from google translate. Forgive me for the errors.
The translations included are: french, dutch, spanish, italian, german, portuguese, japanese, chinese (simplified and traditionnal).


If the website that you want to translate is configured to block inline script, the translation won't work. Parts of google translate scripts will be blocked.


If you encounter any problem when running it in older browsers, feel free to contact me.



Get the script from greasyfork.org


userstyles.org - add "USO archive" button on an userstyle page (2022-04-11) (2023-04-07)

Adds a button on userstyles.org style's pages, that links to the "USO archive" version of the userstyle.

Get the script from greasyfork.org

button in the classic site

button in the new site

userstyles.org - Display additional infos & fixes (2023-03-21) (2023-06-13)

This userscript adds more info to the displayed userstyles. It also fixes some global style to make the site more practical to use. And it fixes some issues with the site's navigation, mainly when you click the back button.

Additional information is added to every card displaying userstyle data:

Total installs is also added to the userstyle full information popup.

Horizontal scrollbars replace buttons on sections on the homepage. Logo animation is prevented.
Get the script from greasyfork.org

userstyles.org - fix style editor's page height (2021-08-29) (2023-02-24)

I know this site is a pain, and is most of the time really slow to respond, but I'm still targeting people using Stylish instead of Stylus. So I have to use their interface to handle modifications.

When editing a userstyle, if you resize one of the textarea, or if you add an element in "style settings", the size of the page increases and the "Save" button moves outside of the visible viewport. You have to move up in the page and reduce the height of textarea elements to make the button re-appear.

No more need for that with this small userscript. The element (an iframe) containing the form is automatically resized to fit.


Get the script from greasyfork.org

userstyles.org - Force site's classic design (2023-02-24) (2023-03-01)

"userstyles.org" has currently 2 versions for its website.

While the new design is still in test, the previous one is still available. The choice is driven by the value of a cookie. When your browser doesn't have one set yet, the layout is chosen randomly.
Since late february 2023, the randomness falls mostly on the novelty side. Hence this userscript.
As of 28/02/2023 the website refuses the cookie value for the "classic" version.

If your browser is set to refuse cookies from userstyles.org the trick won't work.

When the userscript runs it checks if a specific cookie exists, and if it is for the new design, sets the "correct" value and reloads the page. A safeguard has been put in place to prevent an infinite loop of redirects once USo removes the old design and forces the value of the cookie.


Get the script from greasyfork.org

USO archive - Show style's source code (2023-02-20) (2023-03-01)

This userscript displays the userstyle's source code on the "UserStyles.org Archive" pages. It uses the data already available on the page itself without making any request to USOa server.

Compared to what is displayed when you click on "View JSON", the code is human-readable and the meta-headers are generated when the userstyle is customizable (variables are involved).

USOa source code

Get the script from greasyfork.org

Youtube - dismiss "sign-in" dialogYoutube - cacher le dialogue "connectez-vous" (2020-09-28) (2022-05-24)

When you're not signed into youtube, a popup opens automatically asking you to identify.

This userscript hides this dialog and auto-dismisses it.
It also takes care of the GDPR cookie dialog for those not using an extension to dismiss GDPR cookie warnings.

And it prevents those 2 dialogs from pausing/stopping the current video if one is playing.
As of version 0.4 there is no exception left. The userscript should prevent pausing and stopping by popups in all situations. (If you still encounter this problem, please report it)

Other smaller popups/dialogs are also dismissed. They are not hidden in case some are not noticed by the script. This is the reason you could still spot them for a short moment before they disappear.

Please report any problem.
I'm unable to test properly on smartphones, but it should work on the latest browsers. If you have a problem provide the version number of the browser you are using. I'll be able to simulate it and try to fix.

Get the script from greasyfork.org

Quand vous n'êtes pas connecté à youtube, une popup s'ouvre automatiquement vous demandant de vous identifier.

Ce userscript cache ce dialogue et répond "non merci".
Il se charge aussi de cacher le message RGPD à propos des cookies pour ceux qui n'utilisent pas une extension qui cache automatiquement ces messages.

Il empêche aussi ces 2 dialogues de pauser/stopper la vidéo s'il y en a une en train de jouer.
A partir de la version 0.4 il n'existe plus d'exception. Le script devrait empêcher les popups de pauser ou stopper la vidéo. (si vous rencontrez encore ce problème, envoyez-moi un message)

D'autres popups/dialogues sont aussi fermés. Ils ne sont pas cachés au cas où l'un d'eux ne serait pas remarqué par le script. C'est la raison pour laquelle vous pouvez encore les voir pendant un instant avant qu'ils ne disparaissent.

Faites-moi part des problèmes éventuels.
Il ne m'est pas possible de tester convenablement sur les smartphones, mais le script devrait fonctionner sur les derniers navigateurs. Si vous avez un problème veuillez me fournir la version du navigateur que vous utilisez. Il me sera alors possible de le simuler et tenter de faire fonctionner le script correctement.

Le script est disponible sur greasyfork.org

youtube sign in youtube GDPR

Wayback Machine - toolbar togglerWayback Machine - (dé)masquer la barre d'outils (2020-04-22) (2022-09-03)

When browsing archived pages on archive.org, the site is meddling with the page margins and padding, and displaying its toolbar over the page. This toolbar, most of the time, hides parts of the header/menus of the page. The toolbar disappears when javascript is disabled for archive.org, but margins and padding values can become messiers, hiding parts of the original page. Also, many sites need javascript to be displayed properly.

The toolbar can be closed by clicking the appropriate icon, but disappears forever (until reloading). And, once again, margins and padding keep their wrong values.

This userscript allows the user to set the toolbar in a "toggle" mode: always masked, and displayed when the mouse is moved over the top of the tab's viewport. Margins and padding are restored to the original values when the toolbar is put in this mode.

As a safeguard in case this script breaks a page (it shouldn't), the "toggle" mode is only activated when double-clicking an empty space in the toolbar (whitespace either on the right or on the left between the logo and the capture infos).
Moving the mouse at the top of the page's viewport should display the toolbar. If it doesn't, it means that an element of the page, usually the header or a fixed element, is in front of the toolbar. Maintain both ctrl and alt keys down while moving the mouse (at the top). When the toolbar reappears, release the keys. It stays visible as long as the mouse is over it.

Once the toolbar is in "toggle" mode, you can click its "close" icon - if it is green - and the toolbar will disappear until you use the "ctrl and alt" trick. If the button is gray it means that the userscript won't be able to respawn it.

  • #1: a copy of this page without javascript. Transparency added to show hidden content due to modified margins.
  • #2: with javascript and the toolbar. Margins are still incorrect.
  • #3: the toolbar in "float" mode. The mouse moved over it to make it visible, the margins are finally correct.

Get the script from greasyfork.org

Quand vous visitez des pages archivées sur archive.org, ce site modifie les valeurs d'origine des marges de la page, et affiche sa barre d'outils par dessus le contenu. La plupart du temps, la barre d'outils masque une partie de l'entête et des menus de la page. Cette barre disparaît si javascript est désactivé pour le site archive.org, mais les marges restent erronnées, masquant des parties de page. De plus, beaucoup de sites ont besoin de javascript pour s'afficher correctement.

La barre d'outils peut être fermée en cliquant sur l'icône appropriée, mais disparaît alors définitivement (jusqu'au rechargement). Et les marges restent erronnées.

Ce script permet à l'utilisateur de placer la barre d'outils en mode "masqué": toujours cachée et affichée quand la souris est déplacée en haut de la fenêtre. Les marges sont restaurées à leur valeur d'origine quand la barre est dans ce mode.

Comme protection contre d'éventuelles erreurs du script, le mode "masqué" n'est activé que si on double-clique un espace vide de la barre d'outils (à gauche ou à droite entre le logo et les informations d'archivage).
Déplacer la souris en haut de la page devrait faire réapparaître la barre. Si ce n'est pas le cas, cela signifie qu'un élément de la page, habituellement l'entête ou un élément fixe, se trouve au dessus de la barre d'outils. Maintenez les touches ctrl et alt enfoncée pendant que vous déplacez la souris en haut de la page. Relâchez les touches quand le barre réapparaît. Elle restera visible aussi longtemps que la souris se trouvera au dessus.

Quand la barre d'outil est en mode "masqué", vous pouvez cliquer sur son icône "fermer" (si il est de couleur verte). Elle disparait alors totalement jusqu'à ce que vous utilisiez l'astuce "ctrl et alt". Si le bouton est gris cela signifie que ce userscript ne pourra pas la faire réapparaître.

  • #1: une archive de cette page sans javascript. La transparence a été ajoutée pour voir le contenu caché dû aux marges modifiées.
  • #2: avec javascript et la barre en mode normal. Les marges ne sont pas encore correctes.
  • #3: la barre en mode "masqué". La souris par dessus pour l'afficher, et les marges enfin correctes.

Le script est disponible sur greasyfork.org

wayback no js#1

wayback normal#2

wayback floating toolbar#3

9gag - Return dislike count (2023-05-18) (2023-07-15)

Display the like and dislike counts next to the arrow buttons.

Forces the display of the username in home/top/trending/fresh in the new layout (section vs username, and cheered - 2023/06/16).

Displays the account's age next to the poster's name and next to the commenter's name.
In the comments, most values will have a ~. This means that for some accounts, the value provide by 9gag in this situation is no 100% accurate. Some old accounts are reported with a lower value. Anyway, old accounts are still old, and young ones are real.

Hides the "cheers" associated with the post.

Get the script from greasyfork.org

9gag - Scroll down to current position (2022-09-19) (2023-07-15)

This userscript is an attempt to allow a 9gag user to easily scroll back to the position on the page focused when he clicked the "scroll to top" icon. Or if the user scrolled up to read a comment again, and wants to resume where he was.



The userscript adds one or two button to allow you to scroll back down to the position where the viewport was when you clicked 9gag's up arrow.

Once you start scrolling the page, 9gag displays the up arrow at the bottom-right corner of the window.

If you scroll up, either manually or by clicking the up arrow, the userscript displays a down arrow in the top-right corner of the page. Clicking it moves you back to the farther position that you reached when scrolling down.
This icon disappears when you have moved down at least as far as you were, either by scrolling manually or by clicking it.

A second down arrow appears under the first one when you click the up arrow and have already scrolled a little (in short, when the first down arrow is visible). Clicking this second arrow moves you down were you where when you click the up arrow. Which is not as far as the first down arrow will bring you.
This arrow disappears when you scroll down pass the position.


The script remembers the positions for all sections visited in the same "long-lived" page (when the page is dynamically update but not fully reloaded). Say you click the "Home", scroll up/down a little ; then click "Trending", scroll there too. When you click "Home" again, 9gag remember your scrolling position, and the userscript, the state of its buttons.


Get the script from greasyfork.org


9gag - unblock NSFW - posts & comments (2023-06-22) (2023-06-23)

When you are not logged in, this userscript forces 9gag to display all nsfw images & videos in posts and comments.


Get the script from greasyfork.org


CSS userstyle (Non-programming)

DuckDuckGo - background image (2021-09-20) (2023-06-05)

This userstyle lets you specify the url of an image to use as a background to DuckDuckGo pages.
The screenshot shows the userstyle applied to the dark theme, but it also works on the default theme and any of the other themes available in DuckDuckGo options.

There is no background image set by default in the userstyle, so, once installed the display won't change. Go to Stylus popup menu, click the gear icon next to the stylename and paste the following url as an example, with the option "Background size" set to "cover".
"https://images5.alphacoders.com/104/thumb-1920-1043977.jpg" (source: https://wall.alphacoders.com/big.php?i=1043977)

You must keep the "" around the url. And you must ensure that you add a couple around the url you'll be using afterward. (there is a reminder in the label of the option)

The stylesheet is available on userstyle.world

DDG with background image

GitHub - Square avatars (2021-10-08)

In 2020, GitHub modified the style of its pages, and all avatars appearance changed from square to circular.
While it’s not ugly, it can prevent from seeing the whole pattern of some avatars.

After a year keeping it for myself, here it is.

The stylesheet is available on userstyle.world

Gmx - webmails - restore blue buttons bar (2020-09-24) (2021-01-13)

In july 2020 Gmx changed the color scheme of the buttons bar from blue to gray (like web.de). This modification was applied to all gmx webmails domains ( .net, .com, .fr, .es, ... ).

This stylesheet restores the original layout. It is the exact style, and was recovered from a backup I've made earlier this year.
It works on: gmx.net, gmx.com, gmx.fr, gmx.es, gmx.co.uk, gmx.at, gmx.ch

gmx.net gives you the choice of the layout color scheme. This fix works only on the default layout.

The stylesheet is available on userstyles.org and on greasyfork.org .

gmx buttons bar

Google - Fix menu accessibility (2020-04-22) (2020-05-18)

Early April, google changed some parameters in its stylesheet. Since then, when accessing the "Settings" menu on google search homepage, some of the items can be unclickable depending on the size of the window.
It's due to the fact that in html the form is taking the whole width of the page and is displayed over the menu.

In the screenshot I've set a red background, partially transparent, to the form. You can see that it overlaps the menu (opaque yellow background).
When this fix is applied, the menu is displayed in front and is clickable.

The stylesheet is available on userstyles.org.

google menu fixed

Was apparently fixed by google (2020-04-26)
The problem has reappeared. I noticed it today (2020-05-17)
Apparently fixed... for the time being... (2020-09)

Google search - restore "classic" style (pre-favicon)Google recherche - restaurer le style "classique" (pré-favicon) (2020-01-17) (2023-04-22)

This userstyle can modify the new google search results layout (with the favicon line).
It can:
  • swap the 2 lines: the "favicon" line and the "title" line.
  • hide the favicon (by default)
  • reduce the font size of the result blocks. 90% (default) is close to the old size (before 2019).

The stylesheet is available on greasyfork.org in the userstyle/userCSS format (configurable options).
as well as on userstyles.org for the non-configurable stylesheet.


The userCSS format allows these configurable options (screenshot #2):

  • swap the 2 lines: the "favicon" line and the "title" line.
  • hide the favicon (by default) (as of 03/2020, the icon doesn't seem to appear as much, or not at all)
  • reduce the font size of the result blocks. 90% (default) is close to the old size (before 2019).
  • multiple options to reduce whitespace: line height and margins
  • change the font used to display search results

Suggested values to achieve a layout closer to the pre-2020 look:

  • activate "Recover whitespace"
  • "Text's line height": 1.4
  • "Bottom margin": 10px
  • other options are already set to recommended values. Click the "x" (reset) to restore default.
  • FYI: if google plays again with fonts, the font family name used to be: arial,sans-serif

Cette feuille de styles peut modifier la nouvelle mise en page de la page de résultats du google (avec la ligne de favicon).
Elle peut:
  • échanger les 2 lignes: la ligne "favicon" et celle du titre.
  • cacher l'icône favicon (par défaut)
  • diminuer la taille du lettrage des blocs de résultats. 90% (defaut) est proche de l'ancienne taille (avant 2019).

Cette feuille de styles est disponible sur greasyfork.org au format "userstyle/userCSS" (options configurables).
ainsi que sur userstyles.org pour la version non-configurable.


Le format userCSS permet les options de configuration (image #2) :

  • échanger les 2 lignes: la ligne "favicon" et celle du titre.
  • cacher l'icône favicon (par défaut) (à partir de mars 2020, l'icône n'apparaît plus autant, ou plus du tout)
  • diminuer la taille du lettrage des blocs de résultats. 90% (defaut) est proche de l'ancienne taille (avant 2019).
  • plusieurs options pour réduire l'espace inutile: hauteur de ligne et marges
  • changer la police d'affichage utilisée pour les résultats

Valeurs suggérées pour retrouver une apparence proche de celle qui existait avant 2020 :

  • activer "Recover whitespace"
  • "Text's line height": 1.4
  • "Bottom margin": 10px
  • les autres options ont déjà la valeur recommandée. Cliquer "x" (reset) pour restaurer la valeur par défaut de cette feuille de style.
  • pour info: si google change la police, le nom de celle habituellement utilisée est: arial,sans-serif

Google search

Google search

Google images - Darkmode preview in lightmode page (2023-06-10)

Display the image preview panel in darkmode while the page is in the lightmode theme.

The stylesheet is available on userstyle.world

google images dark preview

Google Images - Show sizeGoogle Images - Afficher la taille (2020-04-22) (2021-04-11)

Late February 2020, google images stopped displaying image size over thumbnails.

This fix is available in 2 formats:

  • The simple non-configurable stylesheet always displays the size and hides it when the mouse is over the thumbnail (#1).
    Available on userstyles.org
  • With the user-stylesheet (if the extension managing your styles can handle it) you can choose if the size should always be displayed, or only on mouse-over; and if it is displayed at the top or bottom, and on the left or right of the thumbnails (#4).
    Available on greasyfork.org.

Fin février 2020, google images a arrêté d'afficher la taille des images sur les miniatures.

Ce correctif est disponible en 2 formats:

  • La simple feuille de style non-configurable affiche toujours la taille et la masque quand la souris passe sur la miniature (#1).
    Disponible sur userstyles.org
  • Avec la user-stylesheet (si l'extension qui gère vos styles est capable de comprendre ce format) vous choisissez si la taille est toujours affichée, ou seulement quand la souris passe sur l'image; et si elle est affichée en haut ou en bas, et à gauche ou droite des miniatures (#4).
    Disponible sur greasyfork.org.

GI size at bottom#1

GI with hover#2

GI size at top#3

GI stylus menu#4

Hotmail - reduce whitespaceHotmail - récupérer les espaces vides (2018-12-17) (2023-05-07)

Recover ads banner space (bottom and right side).
Hides "Upgrade to Office 360" link.
Reduces the height of lines in the folders list.
Reduces the height of lines in emails listing in the 3 modes: without preview pane, with preview pane at the bottom and with preview pane on the right side.

The stylesheet is available on userstyles.org.

Récupère l'espace des bannières publicitaires (en bas et à droite).
Cache le lien "Mise à niveau vers Office 360".
Réduit la hauteur des lignes dans la liste des dossiers.
Réduit la hauteur des lignes dans la liste des messages, dans les 3 modes: sans le volet de lecture, avec le volet en bas et avec la volet à droite.

La feuille de styles est disponibles sur userstyles.org.

hotmail screenshots

IMDb - fullscreen imageviewer (2019-11-23) (2022-03-20)

This stylesheet removes dead space around the image.

Note that even if your adblocker hides the space used by the ads (the "dead" space at the top of the screen in the screenshot), it doesn't make the image use the whole space. This stylesheet does.

Update 2020-07-06: IMDb is implementing a new design. Depending on your cookies, you are given one of the 3 layouts.
The stylesheet has been updated to work with the new design, and make it look like the old one: hiding the header (menu and search field) and the footer of the page and recovering the space used by the top bar (back button and # of image).

In the new design, the top bar will be visible all the time. If you want to be able to toggle it like the bottom info box, use the userscript instead.

The userscript is available on greasyfork.org (preferred version).
The userstyle is available on userstyles.org.

Look at my other IMDb's fixes: "fix title page / title page old layout" , "fix rating" , "Fix links" , "Stop scripts" , "Set default user reviews sorting"

IMBd mediaviewer


With the new 2020 design:

IMBd mediaviewerEarly stages of the 2020 design

IMBd mediaviewerHow it looks in 2021

IMBd mediaviewerWith the userstyle/userscript applied

IMDb - fix title page (2021-08-24) (2022-08-10)

This userstyle tries to fix the new "title" page (films/episodes) on IMDb to make it look more like the previous version (pre-May 2021).

Note: If you want all modifications enabled, go to Stylus popup menu, click the "gear" icon and enable "testing".
Starting with v0.6, all stable styles are enabled by default. The different fixes can be toggled in the userstyle's options dialog (see screenshot below)

List of modifications:

I’m still adding new style modifications. To see them, click Stylus icon. In the menu next to this style’s name, click the “gear” icon and enable “testing”. The test styles will be applied (or not) based on the other switches. (If you have checked “on change” in Stylus popup menu, you will be able to see the styles applied live while enabling/disabling their switch)

The userstyle is available on userstyle.world.

Look at my other IMDb's fixes: "fix rating" , "Fix links" , "Stop scripts" , "Fullscreen imageviewer" , "Set default user reviews sorting"


(Actual screen size is 40% bigger than in images)

IMBd title page - beforeBefore

IMBd title page - afterWith the stylesheet



Both images below are at the same scale (See IMDb’s menu&search bar).
The second screenshot is taken with most of the optional styles enabled. The width of the content is set to the same size as the rest of the site (or as in the previous layout).

IMDb title page - before IMDb title page - after


Select the options you want to use.

IMDb title page - Stylus menu

Reddit - fix notifications not marked as visited in menu (2023-03-12)

2023/04: Reddit seems to have fixed the issue. At least for me. Unless some users still have the issue, the style is now useless.

before april 2023:

On "new reddit" some notifications (those with "Reply back") in the notification menu aren't marked as read. It is fixabled with this userstyle.
It works in both light and dark modes.
Note that it won't work in incognito windows, and not for long if you clear your browsing history.

The stylesheet is available on userstyle.world

reddit - mark notifications read

userstyles.org - Fix new site's design (2023-02-24) (2023-06-13)

This userstyle modifies the new layout to make some sections of a userstyle page more readable.

List of modifications:

Available on userstyles.org

#1

#3

#2

#4


Tuinadvies/Matelma - Fix CPU consumptionTuinadvies/Matelma - Corriger la surcharge du processeur (2020-04-27)

When viewing a page with many items, the processor (CPU) consumption of the tab can increase a lot. The more you scroll down the page, the more it will use.
See screenshot (chrome): the "CPU" column shows 49.9% used by the "Webwinkel" tab.

It is due to the way the page is designed. A picture placeholder (spinning dots) is used for each item while its picture loads. The problem is that this spinning image, while being hidden from your view when the real image is displayed, is still spinning in the background. And there is one for each item. The consequence is that the page can gradually become sluggish, especially when scrolling.

The % could vary depending on the size of the browser window. It may not be as noticeable for everybody (slow/fast computer).

This very simple userstyle fixes the issue by completely hiding the spinning images. The tab consumption goes down to 0% when it is applied.

Available on userstyles.org

Quand vous affichez une page contenant beaucoup d'articles, la consommation du processeur (CPU) peut augmenter fortement. Plus vous faites défiler la page, plus la consommation sera importante.
Voir la capture d'écran (chrome): la colonne "CPU" indique 49.9% utilisé par l'onglet "Webwinkel".

Ceci est dû à la manière dont la page est conçue. Une image temporaire (des points en rotation) est utilisée pendant que l'image de l'article est chargée. Le problème est que, bien que masquée une fois l'image définitive affichée à sa place, l'image temporaire continue à tourner en arrière-plan. Et il y en a une par article. La conséquence est que la page peut devenir lente à réagir, notamment lors du défilement du contenu.

Le % peut varier en fonction de la taille de la fenêtre du navigateur. Cela peut être plus ou moins perceptible selon l'utilisateur (ordinateur lent/rapide).

Cette feuille de style toute simple corrige le problème en cachant définitivement les images temporaires animées. La consommation de l'onglet retombe à 0% quand ce correctif est appliqué.

Disponible sur userstyles.org

chrome tab's CPU usage

Tuinadvies/Matelma smaller headerTuinadvies/Matelma petit bandeau (2019-09-26) (2020-11-18)

This stylesheet applies to "Tuinadvies"/"Matelma" gardening webstores:
  • https://www.tuinadvies.be/
  • https://www.tuinadvies.nl/
  • https://www.matelma.com/de-de/
  • https://www.matelma.com/fr-fr/
  • https://www.matelma.com/be-fr/

It reduces the size of the page header once you scroll the page down.
Useful on smaller screens.

Screenshots:

  • #1: normal layout without the stylesheet
  • #2: colored strip removed
  • #3: when the page is scrolled, only a small part of the header is visible
    It reappears when the mouse is moved over it (like #2)

It is available on userstyles.org.

Cette feuille de styles s'applique à toutes les versions du site de vente de la chaîne "Tuinadvies"/"Matelma":
  • https://www.tuinadvies.be/
  • https://www.tuinadvies.nl/
  • https://www.matelma.com/de-de/
  • https://www.matelma.com/fr-fr/
  • https://www.matelma.com/be-fr/

Réduit la taille du bandeau en haut de page une fois que vous faites défiler le contenu de la page vers le bas.
Utile pour les écrans de petite taille.

Captures d'écran:

  • #1: apparence normale du site sans le feuille de style
  • #2: la ligne colorée est retirée
  • #3: quand la page défile, seule une petite partie du bandeau apparaît
    Il réapparaît en entier quand la souris passe au dessus (comme #2)

Disponible sur userstyles².org.


without style#1

with style#2

small header#3


Fixing sites

IMDb - reduce bloatware (2019-11-24) (2021-08-29)

From now on, the solution is to install a userscript : IMDb - stop scripts (here on this page).
If you want an updated list of adblock filters (eg. "uBlock Origin"), you can find them there too.

Each update to the IMDb site slows it down. I have discovered that simply adding the following user rules to your filters revives the site.

First, you should probably install "uBlock Origin", the ad-blocking extension. Then, in the "My filters" tab, add these filters.

amazon.com/1/batch/*$domain=imdb.com
! 20191124: speed up imdb page load. Many scripts loaded from there. But still works without them.
! 20191128  while entering a search query, the suggestion list will be missing.
!           It's that, or 34+ script loaded each time.  
||m.media-amazon.com/images/I/*$script,domain=imdb.com
! privacy ?
||images-na.ssl-images-amazon.com/images/G/01/AUIClients/ClientSideMetricsAUIJavascript$script,domain=imdb.com
If you have another extension handling filtering, see if it supports this syntax.

"Le Figaro" archivé sur "Wayback Machine" (2020-04-04) (2020-05-30)

Quand des pages du site "Le Figaro" sont archivées sur le site "Wayback Machine" d'"Internet Archive", celles-ci semblent être vides. Vous trouverez çi-dessous une technique pour pouvoir lire correctement ces pages.

Le problème vient d'un des scripts propres à la page du Figaro. Celui-ci efface le contenu de l'article quand le domaine de la page n'est pas lefigaro.fr. Dans le cas présent le domaine est web.archive.org puisque c'est une page archivée.


La première solution est de désactiver javascript. Votre navigateur permet de le faire domaine par domaine, mais cela signifie que toutes les pages archivées pour d'autres domaines seront aussi sans javascript. Ce qui cassera beaucoup d'entre-elles.
Un autre inconvénient est que les images d'un article du Figaro sont chargées par script. Avec javascript désactivé, pas d'images en dehors de la première.


Une autre solution est d'utiliser une extension anti-pub pour bloquer les scripts des pages du Figaro archivées.
Dans uBlockOrigin, ajouter le filtre suivant:

||web.archive.org/web/*://www.lefigaro.fr/*chunks*$script
Une fois ce filtre ajouté, les pages archivées du Figaro devraient être lisibles. Si elles ne le sont pas, vous avez loupé quelque chose.

La seconde partie de cette solution est de charger les images de la page avec un userscript. Ce userscript est chargé à l'aide d'une extension (greasemonkey, tampermonkey, violentmonkey). Vous trouverez le script sur GitHub (cliquer sur le bouton "Raw" pour le charger dans l'extension).

Participation in other programmers' projects

Awesome cookie manager (chrome extension)

Displays a list of all Google Chrome cookies. Allows searching, viewing, editing, saving, restoring, and deleting cookies.

On the chrome web store.
Its GitHub page.

Don't add custom search engines (chrome extension)

Google Chrome extension that stops sites from adding custom search engines.

On the chrome web store.
Its GitHub page.

Google image sizer (extension | userscript)

Simple extension to re-implement Google Images size filter (e.g. Larger than 2MP)

On the chrome web store.
The Firefox add-ons version.
Its GitHub page.

Make Google Images great again (userscript | chrome extension) (2018-12-26) (2021-07-30)

This web extension adds back the "View Image" button to Google Image Search results.

The extension is outdated and won't work properly (as of May 2020). You can find it on the chrome web store.
Its GitHub page has a link to an updated version of the script. Search for the issue here titled "Lastest version", and read the instructions to install.

TabFern (chrome extension)

TabFern is Google Chrome extension for saving and restoring sets of tabs, and for switching between windows and tabs from a vertical, grouped list.

On the chrome web store.
Its GitHub page.