Conversion of whole website into addon

Hello Mozilla, Our company has a website in WordPress (https://shilajit4u.pk/), my boss want to convert the whole website into an addon. is it possible to convert it, so people can just install the addon and use our website staying on any other website?

You can in theory deliver a website as an extension. However you no longer have a server side (in your case PHP/WordPress/Database) and everything has to happen client side, so in JS.

1 Like

Thank you for your kind response. but i need some elaboration against this answer.

How would your site be used by users when they are browsing other sites? I don’t understand the connection. Has the boss seen other add-ons that inspired this idea? If so, it would be useful to see how they work, because it would be impractical to use the WordPress engine and MySQL database in an add-on, if it’s even possible.