Git Product home page Git Product logo

mozilla-mobile / focus-ios Goto Github PK

View Code? Open in Web Editor NEW
1.3K 71.0 262.0 97.43 MB

⚠️ Firefox Focus (iOS) has moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-ios

License: Mozilla Public License 2.0

Objective-C 0.08% Swift 86.73% HTML 5.26% CSS 0.02% Ruby 0.15% Python 3.99% Shell 1.50% JavaScript 2.15% Dockerfile 0.12%
privacy firefox browser ios-app swift mozilla hacktoberfest

focus-ios's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

focus-ios's Issues

Engineering work for preloading Fennec.

Unclear, but questions have been asked by Fetch how to prepare a preload distribution and how that works with Adjust and attribution. Assuming this does not magically work and will require some engineering work.

(mhan originated this but he is not on this board yet)

[REQUEST] Firefox Focus for iPod Touch 5th Gen

I do not know if there is a restriction for it, but I saw on the Apple Store that Firefox Focus requires iOS 9.0. It is available for the iPod Touch 6th gen, so I want to know if it's possible to also port it to the iPod 5th gen which also has iOS 9.0+.

Thank you.

Match Focus Android 'Loading bar' UI

Firefox Focus on Android is actually using a Photon-gradient loading bar that we plan on using across Mobile. I think this is strictly a UI matter but it would be more consistent if we could unify the two Focus apps here.

Focus on iOS is currently using an old loading bar UI.

Scrolling text is sometimes choppy when blocking social trackers

Example:

  1. open reddit.com in firefox focus
  2. pick a post with many comments
  3. scrolling through posts is slightly choppy
  4. disable blocking social trackers in settings
  5. scrolling through posts is now completely smooth

I assume it is because there are lots of upvote / downvote reddit buttons everwhere. I have noticed this on other pages too

[edit]
I'm sorry to not mention that this is the android version with webkit 59 and that perhaps this is not the right place for this report.

Remove 'Settings' icon from above keyboard

Barring incredible usage numbers for this Settings button. I think we should be able to remove it....

Removing a redundant UI for accessing Settings is nice but also leveraging this opportunity to further unify the experience across platforms.

LocalStorage support

Can LocalStorage support be returned?

When I downloaded Firefox Focus after release, I was very happy to find that LocalStorage is supported, unlike every other private mode browsing on iOS I'd seen prior (Mobile Safari, Chrome, Firefox, etc). Unfortunately after updating recently from the App Store, it is also now unsupported in Firefox Focus too.

I assume it was this commit responsible: 6ed56a9

         // Disable localStorage.
          // We clear the Caches directory after each Erase, but WebKit apparently maintains
          // localStorage in-memory (bug 1319208), so we just disable it altogether.

There are a lot of legitimate reasons for a website to use web storage, and it is by no means incompatible with "privacy", as long as it's cleared at the end of the private session. Is this an insurmountable problem to overcome without a fix from Apple?

Use Photon color palette

Another Photon consistency thing.

Specifically here, it involves updating the color elements such as the gradient in the toolbar, text, and maybe some icons here and there.

Update:

  • Main gradient (#D70022 #B5007F #440071) at 70% opacity overlaying dark background (#363B40)
  • Inactive/before page is loaded gradient (#D70022 #B5007F #440071) at 10% opacity overlaying dark background (#363B40)
  • text selection (#B5007F)
  • Blocking disabled toolbar (#272727)
  • Bottom Menu gradient (#D70022 #B5007F #440071) at 20% opacity overlaying dark background (#363B40) - Entire bar at 90% opacity
  • Bottom Menu inactive (#363B40) - Entire bar at 90% opacity

Make settings page more comprehensive

Settings: Find better ways to communicate what each option is for and why someone would want to use them

US: I don't know what all these tracker settings mean under settings

Tracker switch to turn on/off

  • Add telemetry

screen shot 2017-07-14 at 3 39 01 pm

We currently do this in the Android side. This hinges on UX issues around an iOS menu since we don't have one.

Inner Div Scrolling using overflow-x: hidden inside a fixed div not working in some cases

On voice.mozilla.org, we use overflow-x on a fixed div to achieve page scrolling. This seems to work on all platforms (including safari, firefox for android, and an ios native app we build which wraps our site in a webview) except focus for ios. We are investing this on the website side, but it would be great to have some advice from the native side too.

Here's the bug we filed for our project:
common-voice/common-voice#214

Use Photon icons

Icons to be replaced:

  • <-
  • ->
  • Refresh
  • Stop
  • Share
  • Clear
  • Settings
  • Magnifying glass
  • Big lock (expanded URL)
  • Small lock (collapsed URL)

(note: TP icons to be handled in another issue as we implement the feature)

cardEngineering work for preloading Fennec.

Unclear, but questions have been asked by Fetch how to prepare a preload distribution and how that works with Adjust and attribution. Assuming this does not magically work and will require some engineering work.

(mhan originated this but he is not on this board yet)

Clarify 'Open with/ Share' button on main menu

One of the recommendations coming out of our research is to clarify the 'box-with-an-arrow' button. This sits on the bottom right of the screen ATM and was intended to allow users to easily jump out into the full fledged browser of their choice.

Focus for macOS

Now that macOS has support for content blockers can this app be ported to macOS?

Clean up top domains

From SpiceGirls4Life on Reddit:

I've been using Firefox Focus as my main browser now for a while, but there's one "feature" (bug, more like it?) that is bothering me:

I have turned off search engine suggestion (DDG), but when I enter a URL which begins with terra(...), the FFF address bar autosuggest/autocomplete it to terraclicks.com, which is some sort of supplier of click-tracking and ads.

Why? Please, if any of the FF devs see this, remove this.

Search engine plugins are retrieved from a soon-to-be-defunct mozilla-aurora url.

Search engine plugins are currently retrieved from https://github.com/mozilla-mobile/focus/blob/a185afaa6875575bd33e8614d9b3973ef064e0c5/Search/scrape_plugins.py#L19 (and L10n versions a few lines below that) by pulling directly from hg.mozilla.org's mozilla-aurora repository.

That's unfortunate for two reasons:

  1. Mercurial's not really meant to be queried like that for raw files. There's got to be a better way (something backed by a CDN?) to pull in this information.
  2. The mozilla-aurora repository (along with Mozilla Aurora as a release product) has been discontinued. I don't know how long those files will continue to be available at those URLs.

At the very least, this should be changed to fetch those files from some other not-discontinued repository.

[Meta] Add request Desktop Site

Some popular websites require Desktop Site for better access. For ex: google news links on mobile tend to be part of Google AMP, which does not present the whole website and the google amp banner reduces screen space.

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.