ovity / octotree

GitHub on steroids
https://www.octotree.io/
GNU Affero General Public License v3.0
22.8k stars 1.79k forks source link

Safari extension version 2.0.2 not working #796

Closed nicknisi closed 5 years ago

nicknisi commented 5 years ago

Description

Octotree Pro is not working in Safari after latest update. It doesn't appear on GitHub. It looks like it's trying to reference a chrome variable that doesn't exist.

Environment (if bug)

[Error] ReferenceError: Can't find variable: chrome
    (anonymous function) (content.js:1:377366)
    Global Code (content.js:1:383738)
[Info] Content blocker prevented frame displaying https://github.com/nicknisi/dotfiles from loading a resource from https://www.google-analytics.com/r/collect (frameworks-32fdce0f.js, line 1)
[Error] Beacon API cannot load https://www.google-analytics.com/r/collect. Resource blocked by content blocker
    N (frameworks-32fdce0f.js:1:90315)
    B (frameworks-32fdce0f.js:1:91345)
    (anonymous function) (github-bootstrap-d109606b.js:1:195546)
    D (frameworks-32fdce0f.js:1:92207)
    send (frameworks-32fdce0f.js:1:108157)
    (anonymous function) (frameworks-32fdce0f.js:1:97060)
    v (frameworks-32fdce0f.js:1:113399)
    D (frameworks-32fdce0f.js:1:112840)
    zn (frameworks-32fdce0f.js:1:113454)
    ao (frameworks-32fdce0f.js:1:11698)
    La (github-bootstrap-d109606b.js:1:193365)
    (anonymous function) (github-bootstrap-d109606b.js:1:195953)
    asyncFunctionResume
    (anonymous function)
    promiseReactionJob
[Error] Refused to load https://www.google-analytics.com/r/collect?v=1&_v=j48&a=1176781073&t=pageview&_s=1&dl=https%3A%2F%2Fgithub.com%2F%3Cuser-name%3E%2F%3Crepo-name%3E&ul=en-us&de=UTF-8&dt=(masked)&sd=24-bit&sr=3840x1600&vp=1085x1001&je=1&_u=SCCAAEABM~&jid=856041355&cid=1821974486.1556744897&uid=b34d6361d0e55072bee4adcc5453c4da&tid=UA-3769691-2&_r=1&cd1=Logged%20In&z=138038118 because it does not appear in the img-src directive of the Content Security Policy.
[Info] Content blocker prevented frame displaying https://github.com/nicknisi/dotfiles from loading a resource from https://collector.githubapp.com/github/page_view?dimensions[page]=https%3A%2F%2Fgithub.com%2Fnicknisi%2Fdotfiles&dimensions[title]=nicknisi%2Fdotfiles%3A%20vim%2C%20zsh%2C%20git%2C%20homebrew%2C%20nvm%2C%20neovim%20-%20my%20whole%20world&dimensions[referrer]=https%3A%2F%2Fgithub.com%2F&dimensions[user_agent]=Mozilla%2F5.0%20(Macintosh%3B%20Intel%20Mac%20OS%20X%2010_14_6)%20AppleWebKit%2F605.1.15%20(KHTML%2C%20like%20Gecko)%20Version%2F12.1.2%20Safari%2F605.1.15&dimensions[screen_resolution]=3840x1600&dimensions[pixel_ratio]=1&dimensions[browser_resolution]=1085x1001&dimensions[tz_seconds]=-18000&dimensions[timestamp]=1568300417425&dimensions[request_id]=FB7E%3A08CF%3ACA2892%3A13ACB48%3A5D7A5D6C&dimensions[region_edge]=iad&dimensions[region_render]=iad&dimensions[ga_id]=1821974486.1556744897&dimensions[visitor_id]=1459948712173572289&dimensions[user_id]=293805&dimensions[user_login]=nicknisi&dimensions[repository_id]=4001241&dimensions[repository_nwo]=nicknisi%2Fdotfiles&dimensions[repository_public]=true&dimensions[repository_is_fork]=false&dimensions[repository_network_root_id]=4001241&dimensions[repository_network_root_nwo]=nicknisi%2Fdotfiles&dimensions[repository_explore_github_marketplace_ci_cta_shown]=false&&measures[performance_timing]=1-0-0-1952-1484-1482-1482-911-0-0-0--1953-0---0-1120-766--772-772&&dimensions[actor_id]=293805&dimensions[actor_login]=nicknisi&dimensions[actor_hash]=d38d3708b6c69d6cf048d560cc3bab5cb94f0ad0d606f017a042bd121bc86aa8&dimensions[cid]=339920798.1533350081 (github-bootstrap-d109606b.js, line 1)
[Info] Content blocker prevented frame displaying https://github.com/nicknisi/dotfiles from loading a resource from https://api.github.com/_private/browser/stats (frameworks-32fdce0f.js, line 1)
[Error] Beacon API cannot load https://api.github.com/_private/browser/stats. Resource blocked by content blocker
    ce (frameworks-32fdce0f.js:1:37747)
    (anonymous function) (github-bootstrap-d109606b.js:1:1926)
[Info] Content blocker prevented frame displaying https://github.com/nicknisi/dotfiles from loading a resource from https://api.github.com/_private/browser/stats (frameworks-32fdce0f.js, line 1)
[Error] Beacon API cannot load https://api.github.com/_private/browser/stats. Resource blocked by content blocker
    ce (frameworks-32fdce0f.js:1:37747)
    (anonymous function) (github-bootstrap-d109606b.js:1:1926)
desilinguist commented 5 years ago

Yes, I just updated and I am seeing the exact same error.

buunguyen commented 5 years ago

Thanks for reporting, we'll fix this ASAP.

i-walker commented 5 years ago

Same Issue here

buunguyen commented 5 years ago

Please update to 2.0.3 which is in the store. Sorry the inconvenience.