Jump to content

[SOLVED] <object> injection using Hanna code?


Claus
 Share

Recommended Posts

Hello people. I want to inject some ad hoc SVG objects into a page using Hanna code. The code is sanitised SVG + some JS to run the animations in it. However I can’t get my Hanna-code snippet to just be inserted into the relevant page. If I set ‘Code type’ to ‘Text/HTML’ I get this:

1789189377_Screenshot2022-03-07at14_13_41.png.406f54826c437e6aee0af05075a313c8.png

When I choose JS I get:

<script type='text/javascript'>var attr = { }; 
        <object type="image/svg+xml"><svg xmlns="http://www …

What do I do?

Link to comment
Share on other sites

  • horst changed the title to [SOLVED] <object> injection using Hanna code?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...