// ==UserScript==
// @name Nature插入高清图片、图表
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Display inline high-res images and tables, ensure left alignment in Nature articles
// @author Lily
// @match https://www.nature.com/articles/*
// @grant none
// @license MIT
// @downloadURL https://update.greasyfork.icu/scripts/523813/Nature%E6%8F%92%E5%85%A5%E9%AB%98%E6%B8%85%E5%9B%BE%E7%89%87%E3%80%81%E5%9B%BE%E8%A1%A8.user.js
// @updateURL https://update.greasyfork.icu/scripts/523813/Nature%E6%8F%92%E5%85%A5%E9%AB%98%E6%B8%85%E5%9B%BE%E7%89%87%E3%80%81%E5%9B%BE%E8%A1%A8.meta.js
// ==/UserScript==
(function() {
'use strict';
// Function to replace thumbnail with high-res image
// Function to insert images after
tag
function insertImagesAfterH3() {
// Select the
tag with class c-article-supplementary__title u-h3
const h3Tags = document.querySelectorAll('h3.c-article-supplementary__title.u-h3');
h3Tags.forEach(h3Tag => {
// Find the corresponding tag inside the