Issue #2286Opened September 23, 2019by Shah-ali1 reactions

Import html code with JavaScript events

Question

<table class="table"><tr><td class="cell">Hello world!</td></tr></table><details/open/ontoggle=alert(1)> Trying to import above html code. getting alert after click on import button. Can i delete all javascript events while importing the html.

Please check attached screenshots.

Screenshot (107) Screenshot (108)

Answers (1)

pouyamiralayiSeptember 24, 20191 reactions

Hi there! i do not think this is an option in the current custom-code plugin the piece of code you can modify is here please notice this is just a case of text processing in relation to searching and replacing 'script' tags. cheers.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.