您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Will make you go automatically to the last Private Message of the conversation
当前为
- // ==UserScript==
- // @name Apollo.RIP & Redacted.CH :: Last PM Inbox Link
- // @description Will make you go automatically to the last Private Message of the conversation
- // @include http*://*redacted.ch/inbox.php*
- // @include http*://*apollo.rip/inbox.php*
- // @version 1.2.6
- // @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js
- // @icon https://redacted.ch/favicon.ico
- // @grant none
- // @namespace https://greasyfork.org/users/2290
- // ==/UserScript==
- $("#messageform").find("td").find("a").each(function() { // Inbox form -> Table TD -> Links found
- $this = $(this);
- var url_en_cours = $this.attr("href"); // Getting the URL data
- // Old URL + Anchor Link
- $this.attr("href", url_en_cours+"#messageform");
- });
- // Focus to the reply if possible
- $("#quickpost").focus();