[wiki] [sites] wiki updated

From: <hg_AT_suckless.org>
Date: Fri, 18 Sep 2009 12:21:42 +0000 (UTC)

changeset: 259:83832b7e22da
tag: tip
user: pancake_AT_localhost.localdomain
date: Fri Sep 18 15:21:38 2009 +0200
files: surf.suckless.org/files/black_css.md surf.suckless.org/files/hide_applets.md
description:
* Added black CSS theme and hide applets user.js script


diff -r c0904406bf7b -r 83832b7e22da surf.suckless.org/files/black_css.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/surf.suckless.org/files/black_css.md Fri Sep 18 15:21:38 2009 +0200
_AT_@ -0,0 +1,31 @@
+BLACK CSS THEME
+===============
+
+Description
+-----------
+
+This file must be deployed into ~/.surf/style.css to get a black themed surf
+
+ textarea,body,input,td,tr,p {
+ background-color: black !important;
+ color: #e0e0e0 !important;
+ }
+
+ div {
+ background-color: #202020 !important;
+ color: #e0e0e0 !important;
+ }
+
+ h1,h2,h3,h4 {
+ background-color: black !important;
+ color: #e02020 !important;
+ }
+
+ a {
+ color: #5050f0 !important;
+ }
+
+Author
+------
+
+- pancake <[pancake_AT_nopcode.org](mailto:pancake_AT_nopcode.org)>
diff -r c0904406bf7b -r 83832b7e22da surf.suckless.org/files/hide_applets.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/surf.suckless.org/files/hide_applets.md Fri Sep 18 15:21:38 2009 +0200
_AT_@ -0,0 +1,29 @@
+HIDE APPLETS
+============
+
+Description
+-----------
+
+This script must be deployed into the ~/.surf/user.js and it will hide all the java contents:
+
+ var elementNames = new Array("object","applet");
+
+ for(var i = 0; i < elementNames.length; i++) {
+ elements = document.getElementsByTagName(elementNames[i]);
+ for(var j = 0; j < elements.length; j++) {
+ var button = document.createElement("button");
+ button.appendChild(document.createTextNode("<" + elementNames[i] + ">"));
+ elements[j].parentNode.insertBefore(button, elements[j]);
+ button.onclick = function() {
+ this.nextSibling.style.display="";
+ this.style.display="None";
+ return false;
+ }
+ elements[j].style.display="None";
+ }
+ }
+
+Author
+------
+
+- Enno Borland (Gottox) <[gottox_AT_gmail.com](mailto:gottox_AT_gmail.com)>
Received on Fri Sep 18 2009 - 14:21:42 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:30:50 CEST