Vous êtes sur la page 1sur 3

// ==UserScript==

// @name Scribd Print and Download

// @description Changes "Upload" link to open a printable viewer (print to PDF)

// @author Inserio

// @include http://*.scribd.com/doc/*

// @include http://*.scribd.com/document/*

// @include https://*.scribd.com/doc/*

// @include https://*.scribd.com/document/*

// @version 1.7

// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js

// @namespace https://greasyfork.org/users/11878

// ==/UserScript==

var new_link;

$('script').html(function (i, text) {

var idRegex = /"id":(\d{6,})/i;

var keyRegex = /"access_key":"(key[-\w\d]*)"/i;

var id = idRegex.exec(text);

var key = keyRegex.exec(text);

if (id !== null && key !== null && id !== undefined && key !== undefined)

new_link = "http://d1.scribdassets.com/ScribdViewer.swf?document_id=" + id[1] + "&access_key=" + key[1];

// if (new_link !== undefined)

// return text.replace(/https?:\/\/www\.scribd\.com\/upload-document/gi, new_link);

// Matches the "Upload" link on the page.

// Click it to open the new page in a viewer that will allow printing to PDF

});

$('div').html(function (i, text) {

if (new_link !== undefined)

return text.replace(/https?:\/\/www\.scribd\.com\/upload-document/gi, new_link);

});
// ==UserScript==

// @name Scribd: Bypasser

// @description At one point in our student life we all need to google homework solutions, test preparation stuff and anything else
related to subject. One of the search results is, usually, Scribd, where to download the file you either need to upload a bunch of
documents, or get a monthly subscription. This extension allows you to bypass all that procedure on the Scribd, so you can download
everything for free!

// @namespace http://github.com/frddl/scribd-bypasser

// @version 1.0.0

// @author Farid Mammadov

// @license MIT

// @released 2016-12-11

// @updated 2016-12-11

// @match *://*.scribd.com/document/*

// @match *://www.scribd.com/document/*

// @run-at document-end

// ==/UserScript==

window.onload = function () {

document.getElementsByClassName('icon icon-globalnav_upload')[0].style.display = 'none';

document.getElementsByClassName('icon_btn_text')[1].innerHTML = "Download";

var URL = "http://d1.scribdassets.com/ScribdViewer.swf?";

var document_id = "document_id=" + window.location.href.split('/')[4];

var src = document.documentElement.innerHTML;

var key = src.substring(src.search("key-"), src.search("\",\"is_searchable"));

var access_key = "access_key=" + key;

URL += document_id + "&" + access_key;

document.getElementsByTagName('a')[16].setAttribute("href", URL);

}
// ==UserScript==

// @id Scribd.com Unblur

// @name Scribd.com Unblur

// @namespace com.scribd.unblurer

// @version 1.0

// @author DeathBlack

// @description Unblur Scribd.com document pages

// @include http*://*.scribd.com/*

// @run-at document-end

// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js

// @iconURL http://www.scribd.com/favicon.ico

// ==/UserScript==

setInterval(function() {

$('.promo').remove();

$('.page-blur-promo-overlay').remove();

$('.page_missing_explanation_inner').remove();

$('.autogen_class_views_read2_page_blur_promo').remove();

$('.outer_page only_ie6_border blurred_page').remove();

$('.page-blur-promo').removeClass('page-blur-promo');

$('.page_blur_promo').remove();

$('.absimg').css('opacity', '1.0');

$('.text_layer').css('color', '#000');

$('.text_layer').css('text-shadow', '0px 0px 0px #000');

$('.autogen_class_views_pdfs_page_blur_promo').css('display','none');

}, 1000);

Vous aimerez peut-être aussi