Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Rescope - Remove unnecessary elements
- // @namespace https://rescope.xyz
- // @version 1.0
- // @description Removing unnecessary elements from rescope.xyz
- // @author God
- // @match https://rescope.xyz/*
- // @grant none
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
- // ==/UserScript==
- $(document).ready(function() {
- jQuery.noop();
- });
- $('.row a').each(function () {
- $link = $(this).attr("href");
- $splitted = $link.split("?username=")[1];
- $(this).attr("target", "_blank");
- $(this).attr("href", "https://periscope.tv/" + $splitted);
- $(this).text($splitted);
- });
- $("body").find(".affix").remove();
- $("body").find(".alert").remove();
- $("body").find(".label-success").remove();
- $("body").find(".btn-primary").remove();
- $("body").find(".col-sm-6").remove();
- $("body").find(".col-sm-12 p").remove();
- $("body").find("h1")[0].remove();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement