您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
显示 aipiaxi 全文 而不需要登录(不可用)和关注
// ==UserScript== // @name ShowaipiaxiContent // @version 0.5 // @description 显示 aipiaxi 全文 而不需要登录(不可用)和关注 // @author miccall // @match https://www.aipiaxi.com/article-detail/* // @icon https://www.aipiaxi.com/xj-pc-web/icon.png // @grant none // @license MIT // @namespace aipiaxi // ==/UserScript== (function() { 'use strict'; console.log("miccall init"); function showMainContent(){ const articleContentDiv = document.querySelector('.article-content'); if (articleContentDiv) { articleContentDiv.removeAttribute("style"); } else { console.log('Element not found'); } const xjarticle = document.querySelector('.xj-article') if (xjarticle) { xjarticle.removeAttribute("style"); } else { console.log('Element not found'); } } function addDownloadBtn() { console.log('Add button'); const bottom = document.querySelector('.bottom'); let btn = document.createElement("button"); btn.innerHTML = "不关注显示全文"; btn.onclick = showMainContent; if(bottom) { bottom.firstChild.appendChild(btn); console.log('bottom add'); } } function showMainContent2(){ const xjarticle = document.querySelector('.xj-article'); const container = document.querySelector('.article-body-container'); const Body = document.querySelector('.body'); if (Body) { Body.removeAttribute("style"); } else { console.log('Element not found'); } if (container && xjarticle) { console.log('xjarticle',xjarticle); console.log('container',container); container.appendChild(xjarticle); } } setTimeout(()=>{ showMainContent(); showMainContent2(); addDownloadBtn(); },2000) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址