IFrame for pages

Discussion in 'BukkitDev Information and Feedback' started by _NameLess_, Aug 16, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    _NameLess_

    Hello, is there a way that you can implement the iFrame Tag for SafeHTML. It would be awesome.
    How:
    You have to change <root>/3rdparty/core/safehtml/classes/safehtml.php. You have to remove 'iframe' from var $Deletes and add it to var $WhiteProtocols.

    I hope you can do this...Would be very great to style the Plugin Threads a bit more ;)

    Best Regards.
     
  2. Offline

    McLuke500

    Might it be a security risk?
     
  3. Offline

    Wolvereness Bukkit Team Member

    I'm sure that this is exactly why SafeHTML exists, to prevent things like iframe...
     
  4. Offline

    Lolmewn Retired Staff

    Very much indeed.
     
  5. Offline

    McLuke500

    Thought so.
     
  6. Offline

    _NameLess_

    And what about an option to style it with CSS or something?
     
  7. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı Retired Staff

    This is BukkitDev, not myspace (or does that make me look old now). You can format your page, but custom css styling can easily be used to break the site.
     
Thread Status:
Not open for further replies.

Share This Page