Direct ppomppu

뽐뿌에서 외부링크를 클릭하면 경유주소로 연결돼 쇼핑몰 바로접속이 해제되는 문제가 있습니다. 이 스크립트는 링크를 항상 다이렉트로 연결해줍니다.

目前為 2015-09-18 提交的版本,檢視 最新版本

// ==UserScript==
// @name           Direct ppomppu
// @namespace      https://gf.qytechs.cn/users/2425
// @description    뽐뿌에서 외부링크를 클릭하면 경유주소로 연결돼 쇼핑몰 바로접속이 해제되는 문제가 있습니다. 이 스크립트는 링크를 항상 다이렉트로 연결해줍니다.
// @include        http://*.ppomppu.co.kr/*
// @include        http://ppomppu.co.kr/*
// @author         anonymous
// @version        1.3.1
// @grant          none
// @run-at         document-end
// @id             fix@ppomppu
// @license        public domain
// ==/UserScript==


var anchors = document.getElementsByTagName('a');
var regexp = /target=([^&#]*)/g;
for (i in anchors) {
  if (!anchors[i].href) continue;

  if (anchors[i].href.match(/http:\/\/s.ppomppu.co.kr\S*target=/)) {
    while (match=regexp.exec(anchors[i].href))
      target = match[1];

    if (anchors[i].href.match(/&encode=on/))
      anchors[i].href = atob(decodeURIComponent(target.replace(/\\/g,'')));
    else
      anchors[i].href = target;
  }
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址