Skip to content

Instantly share code, notes, and snippets.

@xnt
Created April 2, 2012 05:13
Show Gist options
  • Save xnt/2280937 to your computer and use it in GitHub Desktop.
Save xnt/2280937 to your computer and use it in GitHub Desktop.
Seleccionar texto de ElUniversal.mx y similares...
// ==UserScript==
// @name Seleccionar texto de El Universal MX
// @author Vicente Plata
// @description Permite seleccionar y copiar texto de El Universal
// @match http://www.eluniversalmas.com.mx/*
// @match http://www.eluniversal.com.mx/*
// @include http://www.eluniversalmas.com.mx/*
// @include http://www.eluniversal.com.mx/*
// ==/UserScript==
GM_addStyle(
"html, body, p, span { " +
"-moz-user-select: auto !important; " +
"-moz-user-focus: normal !important; " +
"}"
);
document.body.onselectstart = undefined;
document.body.oncontextmenu = undefined;
document.body.ondragstart = undefined;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment