Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Foley 77 posts 62 karma points
    May 30, 2009 @ 03:47
    Paul Foley
    0

    intercept content when served to browser

    Is there an event that we can register with that lets you intercept the content that gets served when you view a page on your site?

    Basically we want to check the html to make sure that it doesnt contain specific phrases (which we'll be checking via regex), and if it does we want to replace them.

    We thought about subscribing to the save event on a page to check and changing it at that point. The only issue with that is the content would be changed in the db, and if you go to re-edit the page you end up with the modified code.

Please Sign in or register to post replies

Write your reply to:

Draft