Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

RE: RE (tilly) 3: I voted -- and I am a hypocrite.

by bastard (Hermit)
on Aug 23, 2000 at 18:34 UTC ( [id://29196]=note: print w/replies, xml ) Need Help??


in reply to RE (tilly) 3: I voted -- and I am a hypocrite.
in thread Javascript and other evil goodies

Along these lines I think a possible solution would be to give the user the choice of what to filter out.

In their settings page, give them options to filter out the following:

  • Javascript
  • CSS
  • Font customizations
  • advanced tags (<layer>, <embed>, <iframe>, etc...) # personally I would remove these all the time
  • other tags...
  • user customized tag entry

Perhaps each of these could even be set via a dropdown. Where the dropdown contains the minimum level of monk you want the tags to be enabled for.

Replies are listed 'Best First'.
RE (tilly) 5: I voted -- and I am a hypocrite.
by tilly (Archbishop) on Aug 23, 2000 at 18:58 UTC
    So tell me...do you have an image in your home node again?

    IMO it is safest to by default filter out everything you are not positive you want and then start being permissive. Though if some really want their own CSS I would prefer an option to turn it off rather than accept it all of the time...

      Actually no, I have a table pretending to be an image. (built by a short perl script) I use a layer and an iframe (similar the the ads on the top of the page) to reference the html source of the table on my site.

      Each time I figured out a way to actually use the IMG tag, I let vroom know, and he fixed it. There are 2 other ways that I could put an image on my page, but out of deference to the system, I choose not to. Instead I emulate an image.

      I agree that a lowest first method should be taken. For the dropdowns, give options of All, 1, 2, 3, 4, 5, 6, 7, 8, 9, None. Numbers would correspond the level of monk that you are deciding to not filter out.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-26 06:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found