V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
cyio
V2EX  ›  问与答

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

  •  
  •   cyio · 2012-11-04 18:55:18 +08:00 · 3802 次点击
    这是一个创建于 4191 天前的主题,其中的信息可能已经有所发展或是发生改变。
    前几行是这样的
    // ==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 条回复    1970-01-01 08:00:00 +08:00
    Shared
        1
    Shared  
       2012-11-04 19:05:15 +08:00
    因为这个脚本没有处理 blekko.com 的逻辑,所以你光添加 match 是没用的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2907 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:40 · PVG 15:40 · LAX 00:40 · JFK 03:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.