Disable all sidebars in a specific page without changing the theme files in wordpress

advertisements

Currently I am creating a plugin. The plugin shortcode create a image upload form with various option. What I need is if I paste the plugin shortcode in any page in theme, then that page become fullwidth without any sidebar. How can i do this?


Can't you get the plugin to initiate the following CSS if the short code exists?

aside {
    display: none;
}

main {
    width: 100% !important;
}