adguardteam / adguardforsafari Goto Github PK
View Code? Open in Web Editor NEWAdGuard for Safari app extension
License: GNU General Public License v3.0
AdGuard for Safari app extension
License: GNU General Public License v3.0
Like it is in regular browser extension: https://uploads.adguard.com/AdGuard_Settings_2018-10-03_18-50-56.png
Figure out the following:
Actual behaviour: it opens not from the top, so Search area and header are not vivsible
https://uploads.adguard.com/AdGuard_Settings_2018-10-04_16-51-51.png
Current appearance:
https://uploads.adguard.com/up04_00830_Monosnap.png
What it should be:
https://uploads.adguard.com/up04_t4i77_Ext.sketch.png
Here are the strings you should use:
AdGuard is not running.
Enabled on this website
Block an element
Report this website
Pause AdGuard
Run AdGuard
Plan:
# What is AdGuard for Safari
## How to build
## How to report an issue
Example of an issue template:
https://github.com/AdguardTeam/AdguardBrowserExtension/blob/master/issue_template.md
License: GPLv3
Next
Actual behaviour: app hangs on Checking your filter
If you uncheck "Enabled on this site", it also will look unchecked for next opened website, but the site will be filtered.
https://uploads.adguard.com/screencast_2018-10-04_13-35-25_2018-10-04_13-57-52.mp4
Steps
Expected:
Selected area not visible
Actual:
Selected area on it's place
Actual behaviour: It shows 2 notifications - one about AG filters (were updated or not) and other about Custom filter was updated, even if there was no update for it.
@timirila1 please work with @aalpatkina and prepare a shortlist of languages we will have on the initial release (I suggest English, German, and Russian at least).
Also, we need to update the oneskyapp project and upload the app screenshots there.
Steps
Screenshot: https://uploads.adguard.com/up04_d73e0_Ext.sketch.png
Here's how it should work.
Now in Custom Filter popup all phrases are hardcoded in English.
We need put all these phrases in translation file, and update markup in accordance with it.
If you turn the setting on or off in General, it should have the same state in Filters - Other. and vice versa.
Add such items as:
Expected that Safari browser will be opened when user click on "Open preferences"
Expected behaviour: AG menu hides, Assistant menu opens
Actual behaviour: AG menu stays on the screen
https://uploads.adguard.com/Novosti__Meduza_2018-10-04_17-11-45.png
Create a new project on adguard.oneskyapp.com
:
Project group=Adguard Browser Extensions
Name="AdGuard for Safari".
Also, add download/upload localization scripts
Don't forget about the native part of the code
Add a script that scans the extension code and searches for redundant strings there
How Whitelist and Inverted whitelist editors connected?
Steps:
The current logic is based on what filters are enabled. This is wrong, filter groups must have their own status.
Here's how it must work:
Sketch file is shared in Slack.
Steps
Uncaught Exception:
TypeError: Cannot read property 'enabled' of undefined
at Object.groupHasEnabledStatus (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters/subscriptions.js:414:29)
at enableFilter (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:146:28)
at /Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:205:25
at onFilterLoaded (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:172:13)
at addAntiBannerFilter (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:176:13)
at loadNextFilter (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:203:17)
at Object.addAndEnableFilters (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/app/filters-manager.js:213:9)
at EventEmitter.<anonymous> (/Users/timshenin/adguard/safari-app-extension/ElectronMainApp/src/main/ui-event-handler.js:33:25)
Actual behavior: Domain will be added to Whitelist with some alien symbols :)
Domain will be excluded from filtering though.
https://uploads.adguard.com/AdGuard_Settings_2018-10-04_15-27-20.png
1.Try to block some element with manual blocking tool (using preview button!)
Actual behaviour: Block button doesn't work, Rule won't be added to UF
It does start the Electron app, but the main window is not opened.
Expected behavior: always bring the main window on top.
Cancel
Actual result: Cancel button doesn't work
Is it possible to have a beta tester's channel there? If not, what are the options for beta testers?
Related issue
#10
Name = AdGuard Safari Icon
Description = You can use this icon to manage AdGuard for Safari settings. For instance, pause blocking on a website, or block an ad manually.
Name = AdGuard
Description = Fast and lightweight Safari content blocking extension.
I noticed some performance issues when UI repaint. Also it can be difficult to maintain the project when it will become larger.
I suppose we may use React to break UI into components.
Instead of hardcoding exact URLs, we should use our central forwarder with named links (i.e. https://adguard.com/forward.html?app=adguard_safari&action=discuss&from=about
).
TBD: a list of links
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.