This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name LiveJournal: inline naspravdi iframe | |
// @namespace rowaasr13@gmail.com | |
// @include http://*.livejournal.com/* | |
// ==/UserScript== | |
// | |
// ************************************************************************************************************************************* | |
// Donations https://www.paypal.com/cgi-bin/webscr?business=rowaasr13%40gmail.com&item_name=UserScripts+Development&cmd=_donations | |
// ************************************************************************************************************************************* | |
(function(){function e(a,d,c,b){a=a.getElementsByTagName(d);d=a.length;if("object"===typeof b&&b.exec)for(delete f[0],delete f[1];d--;){var g=a[d],e=b.exec(g[c]);if(e)return f[0]=g,f[1]=e,f}else for(;d--;)if(g=a[d],g[c]==b)return g}var a=document,c=a.body;if("/"!=location.pathname){var f={},b=e(c,"a","href",/naspravdi\.info\//);b&&(b=b[0],c=e(c,"div","className","entry-content"))&&(a=a.createElement("iframe"),a.src=b.href,a.widt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generates list of patterns for highly compressible files. | |
# Most of them are text and formatted text - hence name. | |
# But some are other uncompressed formats - bitmaps, targa, uncompressed sounds, textures, etc. | |
use strict; | |
use warnings; | |
my @ext; | |
my %known; | |
foreach(split /[\r\n]/, ' |