Skip to content

Instantly share code, notes, and snippets.

View geoffa's full-sized avatar

Geoff A geoffa

  • Spring Hill, TN
View GitHub Profile
//
// While TinyMCE can strip out <script> tags,
// it does not remove inline JS event handlers.
//
// Example: onmouseover, onclick, etc.
//
// This should be included at the bottom of a page,
// contained inside an <iframe> to sandbox user-created
// content. The reason it is contained in an <iframe>
// is to prevent user-created CSS from affecting
@geoffa
geoffa / Trey.css
Created December 14, 2009 15:45 — forked from trey/Trey.css
body {
background-color: #383838 !important;
}
body {
color: #CDCDCD !important;
background-image: url("none") !important;
}
.member.self {
@geoffa
geoffa / forms.py
Created December 2, 2009 22:36 — forked from trey/forms.py
from django import forms
from myapp.models import Mymodel
class MyForm(forms.ModelForm):
class Meta:
model=Mymodel