您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Umozliwia sluchanie podcastow bez reklam
// ==UserScript== // @name Tok FM Player Bez Reklam // @namespace tokfm // @author DominikStyp // @copyright 2017, DominikStyp // @homepageURL https://github.com/DominikStyp // @version 1.2 // @description Umozliwia sluchanie podcastow bez reklam // @license GPL Public License // @match http://audycje.tokfm.pl/* // @match https://audycje.tokfm.pl/* // @exclude http://audycje.tokfm.pl/play/* // @exclude https://audycje.tokfm.pl/play/* // @grant none // ==/UserScript== (function() { 'use strict'; function openInNewTab(url) { var win = window.open(url, '_blank'); win.focus(); } (function($){ function changeUrls(){ var obj = $("a.desktopLinkPlayer"); obj .unbind() .click(function(event){ event.preventDefault(); var url = $(this).attr("href"); openInNewTab(url); }) .each(function(){ $(this).attr("target", "_blank").attr("href", "http://audycje.tokfm.pl/play/" + $(this).data("id")); }); } changeUrls(); $("div.pages.pagination button").click(function(){ setTimeout(function(){ changeUrls(); }, 1000); }); })($); })();