// ==UserScript== // @name 金投快讯 // @namespace http://tampermonkey.net/ // @version 0.1 // @description 调整网页布局,手动复制。 // @author gavin // @match https://kuaixun.cngold.org/* // @grant none // @require http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js // @downloadURL none // ==/UserScript== (function () { 'use strict'; $(".dianzan").remove(); $("#listTable").find("td.item-news").find(".cont").each(function(){ //alert($(this).find("a").attr("href")); $(this).prepend("
金投快讯
"); $(this).append("
"+$(this).find("a").attr("href")+"
"); // }); })();