您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically unlocks the Best Tweet on any user's profile.
// ==UserScript== // @name Favstar Pro - Best Tweet Unlocker // @name:ru Favstar Pro - Лучший разблокировать Tweet // @name:es Favstar Pro - Mejor desbloqueador de tweets // @description Automatically unlocks the Best Tweet on any user's profile. // @description:ru Автоматически разблокирует Best Tweet в профиле любого пользователя. // @description:es Desbloquea automáticamente el mejor tweet en el perfil de cualquier usuario. // @namespace iamMG // @author iamMG // @version 1.0.1 // @icon https://i.imgur.com/OUZgZDE.jpg // @match https://favstar.fm/users/* // @match http://favstar.fm/users/* // @run-at document-end // @license MIT // @grant none // @copyright 2018, iamMG (https://openuserjs.org/users/iamMG) // ==/UserScript== document.querySelector(".redacted").querySelector(".fs-tweet-text").innerHTML = document.querySelector(".redacted").dataset.model.split(/("text":"|","profile_image_url")/)[2].replace(/\\"/g, ''); //replaces "Gift Favstar Pro!" overlay with the actual tweet content. document.querySelector(".redacted").classList.remove("redacted"); //removes redaction of the tweet.