I want to create a website that has a window/frame within it that allows me to browse other websites. Also, I need a custom right-click menu within the browsing window/frame. I understand iframe solves the former but from my internet search it seems that the latter(custom right-click menu) cannot be achieved on iframe. Hence, is there any way that I can browse websites within a webpage and have custom right-click menu on it? Appreciate any help!
Share
The only possible way would be to use AJAX and cross-site requests and loading the results in your webpage.
Note that this has a lot of limitations. First of all, you’ll be able to query only sites that do allow cross-site requests or sites that have public API.
That means that you won’t get the actual page you’re trying to get but just some plain data that you’ll need to show somehow.