Giter Club home page Giter Club logo

Comments (13)

indywidualny avatar indywidualny commented on August 29, 2024

I will think about it but it was easier to implement it that way. External browser allows for example to save an image or zoom in/out. I have to implement something similar and I can allow openening content from this domain too.

from faceslim.

kamathln avatar kamathln commented on August 29, 2024

simply add an option to "open current page in external browser" for any page.. will give loads of flexibility, at the same time will be easier for you to implement (I guess)

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

And that's a perfect solution. Thanks ;)
I will do so with the new release.

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

And I forgot about it again. It should be nice to have a possibility to open everything in external browser however I cannot decide where to place this option. Main menu is a little crowded. Long clicks are reserved for sharing links. Any ideas? Maybe a gesture or something...

from faceslim.

kamathln avatar kamathln commented on August 29, 2024

long clicking should trigger a context menu with options. 1) Share 2) Open in browser
That way, you can add more options to it later if needed.

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

Well. Simple ideas are great ideas. Thanks ;)

pon., 16 lis 2015, 12:16 Laxminarayan G Kamath A użytkownik <
[email protected]> napisał:

long clicking should trigger a context menu with options. 1) Share 2) Open
in browser
That way, you can add more options to it later if needed.


Reply to this email directly or view it on GitHub
#43 (comment)
.

from faceslim.

kamathln avatar kamathln commented on August 29, 2024

Welcome :)

from faceslim.

pejakm avatar pejakm commented on August 29, 2024

Will this get resolved in the upcoming version?

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

It's not ready yet. I tried to do it and there was a problem because long clicks are only possible on links. So it cannot be used to open a current page in external browser. I have to figure something out.

from faceslim.

pejakm avatar pejakm commented on August 29, 2024

Why complicating things? From my (user) perspective:

  • internal FB links (.fbcdn.):
    • single click opens link internally
    • long click opens context menu with options (share, open in ext. browser, etc.)
  • non-FB (external) links:
    • single click opens link in external browser
    • long click opens context menu with options (I actually don't care about this one because Facebook already has ability to share something already posted)

Is this the same you are trying to accomplish or perhaps I misunderstood? :)

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

Yep but it would be nice to have an option to just open the current page (not a link) in external browser too. And if you long click somewhere there is a text selection/copy. I want to keep it unified too. All long clicks should do the same so internal / non-FB links and different actions for them seem not right.

There is also another problem. If someone set Face Slim as the default application for all Facebook links, opening a Facebook link externally will be caught by Face Slim. There are a lot of web browsers and I cannot just assume someone is using Chrome and open Chrome as an external browser. It's made by universal Intent and the system chooses the right app.

I don't want to mess things :D It needs some time to be done right. The easiest things are sometimes the most difficult.

from faceslim.

pejakm avatar pejakm commented on August 29, 2024

Sorry for been pushy, I very much miss this feature. Could you point out any quick code edit to enable opening Facebook images inside app itself? "Tinfoil for Facebook" app can do this and I've examined its code but couldn't find anything I could use for Face Slim.

Edit: I've got it, I've simply added || Uri.parse(url).getHost().endsWith("fbcdn.net") in "app/src/main/java/org/indywidualni/fblite/webview/MyAppWebViewClient.java". Clicking on "View full image" opens the image but it cannot be zoomed out or downloaded. I'm gonna try now to add a download dialog, and I'm good with this. ^_^

from faceslim.

indywidualny avatar indywidualny commented on August 29, 2024

Done.

from faceslim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.