[wiki] [sites] a shortcut to skip limitation on streaming websites || Thuban

From: <hg_AT_suckless.org>
Date: Mon, 16 Jul 2012 10:22:27 +0200 (CEST)

changeset: 961:5eabf6cbeaac
tag: tip
user: Thuban <thuban_AT_singularity.fr>
date: Mon Jul 16 10:22:24 2012 +0200
files: surf.suckless.org/files/skip_streaming_limits.md
description:
a shortcut to skip limitation on streaming websites


diff -r 2f1c44b4e25f -r 5eabf6cbeaac surf.suckless.org/files/skip_streaming_limits.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/surf.suckless.org/files/skip_streaming_limits.md Mon Jul 16 10:22:24 2012 +0200
_AT_@ -0,0 +1,35 @@
+Simplyread
+==========
+
+Description
+-----------
+
+Call the http://www.debrideurstreaming.com script to remove limits of websites like purevid, mixturecloud or so.
+
+Add this in $HOME/.surf/script.js
+
+The default keybinding is alt-d.
+
+
+ (function() {
+ document.addEventListener('keydown', keybind, false);
+ })();
+
+ function keybind(e) {
+ // if(e.altKey && String.fromCharCode(e.keyCode) == "R") {
+ // simplyread(); }
+ if(e.altKey && String.fromCharCode(e.keyCode) == "D") {
+ debride();
+ }
+ }
+
+ function debride() {
+ h=document.getElementsByTagName('head')[0];
+ if(!h){
+ he=document.createElement('head');
+ h=document.getElementsByTagName('body')[0].appendChild(he);
+ }
+ sc=document.createElement('script');
+ sc.src='http://debrideurstreaming.com/scripts/mixidev.php?r='+Math.random()+'';
+ h.appendChild(sc);
+ }
Received on Mon Jul 16 2012 - 10:22:27 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:32:29 CEST