cyio
V2EX  ›  问与答

求教关于UserScript的问题 - Twitter Link Cleaner

  •  
  •   cyio · Nov 4, 2012 · 4457 views
    This topic created in 4948 days ago, the information mentioned may be changed or developed.
    前几行是这样的
    // ==UserScript==
    // @name Twitter Link Cleaner
    // @namespace http://techiev2.com
    // @description Cleans up t.co wrapped links to actual urls on Twitter pages. Also does a minimal level of formatting
    // @match https://*.twitter.com/*
    // @match https://twitter.com/*
    // @match http://www.twitter.com/*
    // @version 1.0.1
    // ==/UserScript==

    我想在别的网站只要有t.co 这样的链接都作替换,自己试着添加 // @match https://blekko.com/*
    不起作用,该怎么做呢?

    Twitter Link Cleaner http://userscripts.org/scripts/show/140770
    1 replies    1970-01-01 08:00:00 +08:00
    Shared
        1
    Shared  
       Nov 4, 2012
    因为这个脚本没有处理 blekko.com 的逻辑,所以你光添加 match 是没用的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2718 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:27 · PVG 23:27 · LAX 08:27 · JFK 11:27
    ♥ Do have faith in what you're doing.