GithubHelp home page GithubHelp logo

nanocore's People

Contributors

alexvallat avatar anewuser avatar anvakl avatar b3rnd avatar baegus avatar chrisaljoudi avatar dandelionsprout avatar deathamns avatar faye925 avatar gijsk avatar gorhill avatar hawkeye116477 avatar hotdogman avatar ialexsilva avatar jeeger avatar jspenguin2017 avatar konoromihimaries avatar macabro avatar mikey1993 avatar mikhaelkh avatar rlex avatar sandeeppinge avatar spwhitton avatar sw1ft avatar tailhey avatar wyohknott avatar xpoison avatar xupefei avatar yfdyh000 avatar yous avatar

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

nanocore's Issues

select filters profile

i use a many filters list in my dashboards

and i don't have a time to deselect all of this filters list in the dashboard

i think the profile selector is the best solution of the i have

example.
2017-12-22 09_13_42-

like this design
selrolemodule

Add an option to allow slow filters

Power before performance, should limit this to Nano filters and My filters though, need to balance the trade-off. Also maybe create a warning in IDE?

This can be really useful to inject a lite version of Nano Defender.

The problem is I don't want Nano to be naturally slower than uBO, need to evaluate the trade-off in depth.

Upstream: gorhill#3305

Yandex browser i don't can add a new filter list

i don't see a button to i can add a filter list
screenshot_2017-12-12-02-24-52

screenshot_2017-12-12-02-24-59
https://github.com/MajkiIT/polish-ads-filter/blob/master/polish-adblock-filters/adblock.txt

Nano Adblocker 1.0.0.9
Nano Defender 13.0

My ua from
http://www.whatsmyua.info/

Mozilla/5.0 (Linux; Android 5.0.2; A0001 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 YaBrowser/17.10.2.145.00 Mobile Safari/537.36

Add automated configuration

Use external messaging (?) to automatically enable and disable integration filter.

storage.js line 198 seems to be related, like this? nano.saveSelectedFilterLists([ key ], true);

To force an immediate update:

        µb.scheduleAssetUpdater(0);
        µb.assets.updateStart({ delay: µb.hiddenSettings.manualUpdateAssetFetchPeriod || 500 });

Maybe wrap this as nano.forceUpdateAssetNow?

Revamp Dashboard with Material Design

Any feedback on this? #33 (comment)


The current dashboard is ugly and glitchy, has hard-to-access buttons, and is not mobile(Yandex)-friendly. (There could be other complications when dealing with mobile browsers, but like all Material Design libraries are responsive)
Should revamp it with clean, responsive, and modern Material Design.

Also:

  • Make sure browser back button works

  • Change last section of third party filters pannel to "For your locale" and "Other locales" Maybe a link to Nano Filter Store?

  • Rework Dashboard

  • Update credits in About page

Optimize Filter Viewer

uBO's Assets Viewer dumps performance right out the window by forcing a massive layout change which takes about 9 seconds (on EasyList) That is about 45 times slower than Nano Filter IDE which takes only 0.2 seconds for first paint, need to optimize it.

3rd party filters keep resetting every update? [Getting unchecked]

Describe the issue (Required)

3rd party filters keep getting reset every time there is an update.. The only filter that doesn't get reset/unchecked is "Nano Defender Integration"

Environment (Required)

  • Operating System and Version: Windows 10 x64 bit, version 1709 latest updates
  • Browser and Version: Chrome 62.0.3202.94
  • Nano Adblocker Version: 1.0.0.13

Your filter lists (Required)

Well seeing as how my 3rd party filters keep getting reset I guess none...

Your custom filters (Required if you have any)

! Add exception to EasyList rule to let YouTube track video progress
@@||s.youtube.com/api/stats/watchtime*

! Block YouTube Gaming Event Promo
youtube.com##div[id^="gaming-event-promo-overlay"]

! Block YouTube end cards
##.ytp-ce-video

! 1/1/2017, 3:44:29 AM http://www.deviantart.com/notifications/#view=watch
www.deviantart.com##.active.gogo-upsell

! 3/16/2017, 8:55:21 PM https://www.reddit.com/
www.reddit.com##.recommended-link

! 11/15/2017, 6:09:05 PM https://www.reddit.com/
||www.reddit.com/chat/minimize$subdocument

! 7/28/2017, 7:25:55 AM https://www.reddit.com/user/Static_Love/saved
www.reddit.com##.profilebetabar.infobar

! 7/23/2017, 2:01:00 AM https://www.iptorrents.com/t
www.iptorrents.com##.cfapps-welcome-bar

! 12/14/2017, 3:42:22 AM https://metagamerscore.com
metagamerscore.com##.ad_wide_ss
metagamerscore.com###aff_box > center

open in new tab

Question 1.
2017-12-14 06_26_02-nano filter viewer

i don't see option "open in new tab" or "search in google" how do i can open this link in new tab?

to reproduct

  • open a random filter list

Question 2.
2017-12-14 06_34_22-nano filter viewer
double click not selected a link


Nano Adblocker 1.0.0.12
Nano Defender 13.0
Chrome 63.0.3239.84

optimize building process

It takes an eternity to get the code built, got to replace the current build script with a real Makefile, or something that's actually efficient.

Nano Linter issues mega thread

Filter Linter

Show warning if:

  • Too many or too few arguments are passed in for a script snippet
  • Filter is platform specific and current platform does not support it
  • A script snippet injection rule only have negated domain (it will be converted to an exception rule)
  • A filter will match word boundary but the boundary character is not explicitly given
  • A common mistake is detected

Common mistakes:

  • ||example.com^$generichide - Forgot @@ or important
    It is quite rare that someone want to use important on generichide, chances are he forgot @@.
    Detection logic: If a filter has generhichide but not important and is not an exception filter, then dispatch a warning.
  • /example-path/ - Forgot trailing *
  • /example-path/im - gorhill#3372
    When matching part of a path, trailing wildcard is required, otherwise it becomes a RegExp rule.
    Detection logic: If a RegExp rule only contains letters, numbers, -, _, and ., then dispatch a warning.
  • |example.com^ - Missed one |
    Can happen when copying filter, didn't select the whole line.
    Detection logic: For start anchor, if what is anchored does not include protocol, dispatch a warning.
  • ||example.com - Forgot ^
    Although the filter works, it is usually a mistake as it can match example.communicate.example.org.
    Detection logic: If a filter has host name anchor but no ^ nor : nor /, dispatch a warning.
  • example.blogspot.*##element - Wildcard matching half of public suffix
    Filter will not work as expected.
    Detection logic: Could be difficult to implement.

Whitelist Linter

Show warning if:

  • RegExp is used but that is unlikely to be the intent of the user

Fix back button for dashboard

Currently, back button cannot return to the extension page (dashboard will be opened in a new tab until this gets fixed). Also back button is buggy after switching "sub-tabs" of the dashboard.

[Enhancement] Shortcut key for disabling selected filters in Filter Viewer

many filter list block things you do not want

example. my anti donate filter list
https://github.com/MajkiIT/polish-ads-filter/blob/master/anti-donate-filters/adblock_anty-dotacje.txt

somebody don't want to block the bitcoin section in the filter list

what he can do
this someone must create own list or remove the filter list

this solution what i suggest would solve this problem


example. i click the green + button in bitcoin section, and filter has be disabled

2017-12-12 10_25_08-nano filter viewer

userResourcesLocation advanced setting

Describe the issue (Required)

I looked through the diffs between this extension and uBlock Origin to see whether the advanced setting userResourcesLocation would do anything, or would just be overridden by the built-in resources in Nano Adblocker; it seems as if the former is true (that if that advanced setting points to a URL, then Nano Adblocker loads the uBlock Origin resources, the additional Nano Adblocker resources, and finally the resources from the custom location), but I would like confirmation that this behavior is intended.

Screenshots (Required)

nanoadblockerresources

Environment (Required)

  • Operating System and Version: Windows 10 Version 1709 x64
  • Browser and Version: Chrome Stable 63.0.3239.108 x64
  • Nano Adblocker Version: 1.0.0.13

Your filter lists (Required)

(Is this really required when the question is just about how something else entirely works?)

(Obsolete) Old Edge (EdgeHTML) build discussion thread

For Chromium-based Edge: https://www.microsoft.com/en-us/microsoft-edge/insider-addons/detail/epbkapkgcmdmfpogenoebpdeibmfinpf

New thread: #253


Nano Adblocker is published: https://www.microsoft.com/store/productId/9NSXDX2TDB3V

Nano Defender is in review since May 2018...

Knows issues

Edge does not support listening to web_accessible_resources requests...

image
image

 

Edge restores (un-maximize) when browser.tabs.reload or browser.tabs.select is called.

Opening Logger in InPrivate mode breaks cosmetic filtering.

Update default settings to block CSP reports

CSP reports are too easily exploited to track user, should block by default.

uBO handles it inside hostname switchboard, which is kind of hard to set a default. Maybe hook into storage handler and put in the default if the entry does not exist (Chrome returns undefined)?

change name

I think is interesting change from Nano Adblocker to simply Nano Blocker, because Nano in my view is more than a adblocker is a general purpose blocker.

Make proper locale system

Use a Node script to pre-process all locale files, replace name, trim them down (remove dummy entry and remove description) and merge in new strings of Nano.

Make Logger more usable

These features should be helpful:

  • Freeze logs, stop scrolling but still record new logs that are coming in
  • Keep logs of closed tabs, this helps conserving bandwidth when using a metered VPN (sometimes you may want to examine logs in details after closing the tab)

Fix handing of $empty and add mapping for $mp4

Adguard's $empty should "emulate a blank response", which means a noop redirect with the proper type. Currently it is treated like normal network filter. Either stop parsing it or fix it.

Adguard's $mp4 should be mapped to $media,redirect=nano-noopmp4-1s. Need to add the resource first.

Compress script snippets and use .remove for cleanup

Chrome has an unminify button in the console so we can minify script snippets when loading them without creating drawbacks, it will make injection faster too. A naive trim-and-join approach would do, carrying a full minifier will use more resource than it saves.
Also, ChildNode.remove() is supported everywhere, should use that instead of current cleanup logic.

Dashboard crash

because, i have crash
2017-12-11 04_27_38-nano panel sterowania

to reproduct

  • i dont't know
  • i try update my filters
    https://raw.githubusercontent.com/mat41997/polish-ads-filter/patch-8/inside-filters/adblock_wewnetrzne.txt
  • and crash has close my nano adblocker

my filters
https://gist.github.com/mat41997/809ef17633ba86197db6df03d6790f16

Nano Adblocker 1.0.0.7
Nano Defender 13.0
Chrome 63.0.3239.84
Win10

i don't know how do i can give more information

Make "Update now" button more accessible

every time i wan't actualize the filters i must scroll to down and back up to be click the actualize filters button.. this is a mistake

2017-12-10 23_10_05-nano panel sterowania

2017-12-10 23_10_16-nano panel sterowania

Nano Adblocker 1.0.0.6
Nano Defender 13.0
Chrome 63.0.3239.84

[Suggestion] Trigger the execution of userscripts in a similar way as scriptlets

I dont know if it is possible to access other browser extensions in away that you could remotely activate userscripts from greasemonkey, tampermonkey or violentmonkey but if possible it would open many opportunities. this would make it much easier to maintain and distribute scriptlets and it would connect two large developer communities. i hope this is not something that got prohobited with firefox 57.

Add Nano's special scriptlets

Add Nano's scriptlets:

  • nano-setTimeout-booster (payloadMatcher, timeoutMatcher, boostRatio)
  • nano-setInterval-booster (payloadMatcher, timeoutMatcher, boostRatio)
  • nano-easy-timewarp
  • nano-define-read-only-property (propertyName, nanoValue)

Nano Editor issues mega thread

  • If My filters is not checked, linting result gets bugged.

  • Autocomplete
  • Shortcut key for opening source map and license

Add snippets logger

This is really handy, half working is better than not working, should make one fast.

Clean up default filter package

Filters are all over the place, need to clean them up and always ship with latest filters.
Also need to shorten core assets update delay.
Also set up another scriptlet / filter source (Nano filters).

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.