// ==UserScript== // @name Pastebin Unblocker - Pastebin Link Açıcı // @namespace http://tampermonkey.net/ // @version 1.1 // @description pastebin.com sitesine girildiğinde pastebinp.com sitesine otomatik yönlendirir ve orijinal linki gösterir. // Redirects pastebin.com to pastebinp.com and shows the original link. // @match *://pastebin.com/* // @match *://pastebinp.com/* // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Orijinal linki sakla // Store the original link var originalLink = window.location.href; // pastebin.com sitesine girildiğinde yönlendir // Redirect from pastebin.com if (window.location.host === 'pastebin.com') { var newUrl = originalLink.replace('pastebin.com', 'pastebinp.com'); window.location.href = newUrl; } // pastebinp.com sitesinde buton ekle // Add button on pastebinp.com if (window.location.host === 'pastebinp.com') { var buttonContainer = document.createElement('div'); buttonContainer.style.position = 'fixed'; buttonContainer.style.top = '10px'; buttonContainer.style.left = '10px'; buttonContainer.style.zIndex = '1000'; var button = document.createElement('button'); button.textContent = 'Link'; button.style.backgroundColor = 'green'; button.style.color = 'white'; button.style.border = 'none'; button.style.padding = '5px'; button.style.marginRight = '5px'; var linkText = document.createElement('span'); linkText.textContent = 'Orijinal Link: ' + originalLink; linkText.style.color = 'green'; buttonContainer.appendChild(button); buttonContainer.appendChild(linkText); document.body.appendChild(buttonContainer); } })();