Skip to content

Instantly share code, notes, and snippets.

@maagmirror
Last active January 2, 2016 01:28
Show Gist options
  • Select an option

  • Save maagmirror/4f0bd34bc867456470c8 to your computer and use it in GitHub Desktop.

Select an option

Save maagmirror/4f0bd34bc867456470c8 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Notis taringa
// @namespace http://www.taringa.net/maag-
// @description fixeo de notificaciones bug v6
// @author Maag
// @include http://taringa.net/*
// @include https://taringa.net/*
// @include http://*.taringa.net/*
// @include https://*.taringa.net/*
// @run-at document-start
// @version 1
// ==/UserScript==
(function() {var css = [
"#page ~ *:not(.ui-widget-overlay), #page ~ *:not(.ui-dialog), #page ~ *:not(.ui-widget) {",
"position: fixed;",
"}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
})();
@Nekitaw
Copy link
Copy Markdown

Nekitaw commented Jan 1, 2016

$('head').append('<style> #page ~ *:not(.ui-widget-overlay), #page ~ *:not(.ui-dialog), #page ~ *:not(.ui-widget) {position: fixed;}</style>');

@Maralexbar
Copy link
Copy Markdown

Puedes agregarle que emitan un sonido tipo facebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment