Post Reply 
A proper way to put code before </head> tag
Dec. 10, 2010, 11:29 PM
Post: #1
A proper way to put code before </head> tag
May be it's already answered, but I'm hoping for a simple answer here.

It's a common desire to put some HTML code (for example, a custom <style> block) right in front of ending </head> tag.

What is the best way to do it with Sidki's filter sets?

Is it something like this?
Code:
Match = "</head>"
Replace = "<style type=\"text/css\"> ... </style>$STOP()"
Note: there is no </head> at the end of "Replace" section. It's because the ending tag will be inserted by this filter:
Code:
"Header Bot Mark: Start - Fix </head>     09.06.29 (multi) [sd] (d.r)"
But what if this filter is 'off'? Or it should be always 'on' with these filters?

Or may be there is some better (proper) way to achieve the simple task?
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
A proper way to put code before </head> tag - OZO - Dec. 10, 2010 11:29 PM

Forum Jump: