OmniSidebar icon indicating copy to clipboard operation
OmniSidebar copied to clipboard

View Web Pages in OmniSidebar

Open Techy-Ben opened this issue 10 years ago • 7 comments

I would like to suggest the ability to type any web page into the sidebar's location field. E.g.: Click blue arrow --> type "www.images.google.com" --> Google Image Search opens in sidebar. I would like to be able to view the web page in full size (with scrollbars), scaled down, text only, or realigned like a mobile web page. This would be similar to functionality in AiOS. I would also like to be able to zoom in/out. Thank you for developing this extension; I use it almost every day.

Techy-Ben avatar Mar 21 '14 18:03 Techy-Ben

I'm sorry, I saw this the day you posted but couldn't reply at the time. I have always wanted to (eventually) add this ability. But for security reasons, this isn't as straightforward as just "let these urls open in there", so I've always pushed it back.

This will eventually make it into the add-on, it just might take a while. :)

Quicksaver avatar Mar 25 '14 21:03 Quicksaver

Okay, I can wait for it. :) Out of curiosity, is it possible to start off with the sidebar only allowing https urls? Would that alleviate some of the security issues?

Techy-Ben avatar Mar 26 '14 13:03 Techy-Ben

No, the problem is that "browser" 's, the actual physical element given an URL to load, can load chrome and content urls. Chrome urls are about: and chrome:// pages, and content is everything else (pretty much anything online).

Because chrome urls, like the sidebar panels are (bookmarks, history, add-ons manager...), need access to main browser functions to work, these "chrome browser" elements are allowed to access these functions, but "content browsers", like tabs, are not. If "content browsers" were to be able to access these main functions, it would cause severe security risks.

So, in order to load anything other than about: and chrome:// urls in the sidebar, I would need a second "content browser" physical element to load them in, one that does not allow its loaded url access to the main browser functions. Even though this is just as simple as adding a new element and telling it "don't access chrome stuff", the part where the add-on has to juggle the two different browsers in the same sidebar is a bit tricky.

This is perfectly possible. Mainly I haven't done this yet because it's a lot to write and I haven't had much time, so I have to prioritize. :)

Quicksaver avatar Mar 26 '14 16:03 Quicksaver

You can leave this open, helps me not forget about it. :)

Quicksaver avatar Mar 29 '14 01:03 Quicksaver

Sorry about that! This is my first time on GitHub, so I assumed that the close button was to close the comment box rather than the topic. :/ I was going to say thanks for informing me about why opening web pages in the sidebar can be tricky, but then I figured I might sound a bit like a parrot after saying something similar in my previous comment. I know that's silly, but I decided not to worry about it and "closed" the comment, not realizing I was actually closing the topic. Oops... Thank you for reopening the topic. :)

Techy-Ben avatar Apr 02 '14 12:04 Techy-Ben

Don't worry about it. ;)

I'll post here to let you know when I add this feature (won't be in the next version at least).

Quicksaver avatar Apr 02 '14 13:04 Quicksaver

Okay, thank you! :)

Techy-Ben avatar Apr 03 '14 17:04 Techy-Ben