Click Data Tab

Clicks the Data tab on page load

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         Click Data Tab
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Clicks the Data tab on page load
// @match        https://www.amazon.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // 创建按钮元素
    const executeButton = document.createElement('button');
    executeButton.textContent = '执行命令';
    executeButton.style.position = 'fixed';
    executeButton.style.left = '50%';
    executeButton.style.bottom = '20px';
    executeButton.style.transform = 'translateX(-50%)';

    // 将按钮添加到页面中
    document.body.appendChild(executeButton);

    // 添加按钮点击事件监听器
    executeButton.addEventListener('click', function() {
        // 执行命令:点击 "Data" 标签
        const tabMore = document.getElementById('tabMore');
        if (tabMore) {
            tabMore.click();
        }
    });
})();