Greasy Fork

Greasy Fork is available in English.

TAOBAO TMALL JD 【内部加强版】 淘宝、天猫、京东内部优惠券 优惠30%以上 2018.6.14加速版

通过淘宝客返利网站,查询商家设置的隐藏优惠券,上万款内部优惠券等你免费领取、让您享受更多优惠!

当前为 2018-06-14 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         TAOBAO TMALL JD 【内部加强版】 淘宝、天猫、京东内部优惠券 优惠30%以上  2018.6.14加速版 
// @namespace    https://www.49zhe.com/
// @version      6.14
// @description  通过淘宝客返利网站,查询商家设置的隐藏优惠券,上万款内部优惠券等你免费领取、让您享受更多优惠!
// @author       Taobao
// @include      http*://item.taobao.com/*
// @include      http*://detail.tmall.com/*
// @include      http*://item.jd.com/* 
// @require      https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    $(document).ready(function() {
        var url = window.location.host;
        var name = '';
        var html = '';
        if (url.indexOf('taobao.com') > 0) {
            name = $.trim($('.tb-main-title').text());
            html = '<div class="tb-btn-add" style="padding-top:10px;"><a href="http://49zhe.com/index.php?m=quan&a=sok&type=2&kwd='+ encodeURI(name) + '">领取优惠券</a></div>';
            $('.tb-action').append(html);
        } 
        if (url.indexOf('tmall.com') > 0)  {
            name = $.trim($('meta[name=keywords]').attr('content'));
            html = '<div class="tb-btn-basket tb-btn-sku"  style="padding-top:10px;"><a href="http://49zhe.com/index.php?m=quan&a=sok&type=2&kwd=' + encodeURI(name) + '">领取优惠券</a></div>';
            $('.tb-action').append(html);
        }
        
         if (url.indexOf('jd.com') > 0) {
            var name = $.trim($('.sku-name').text());
            var html = '<a href="http://youhui.49zhe.com/?ah=total&kw='+ encodeURI(name) +'" target="_blank"  class="btn-special1 btn-lg">领取优惠券</a>';
            $('#choose-btns').append(html);
        }
    });
})();