eryw / firefox-simple-blocker Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
In version 0.3.6 of 12 December the browser console shows the following error:
background is null
raised at line 11 in options.js. That means in the expression
background.save(document.querySelector('#regexes').value,
document.querySelector('input[name="mode"]:checked').value,
document.querySelector('input[name="debugging"]:checked').value
)
within the tout function.
hi
i installed the addon in android but i dont know where the options are.
i cannot seem to find where to enter the url's to block.
if i install it on my desktop firefox i can add url's in the option window in the addon page.
can i edit some file on android or use about: config command to edit the blocklist?
pls help
Can't block only the root document of a site in blacklist mode (with allowing subpages).
'site.com$' doesn't block it, and 'site.com' matches subpages also.
Addon version 0.3.6, FF 62.0.3, Linux x64
it will be nice if there is one more option to add site to which redirect the search if i try to search a blocked site or use a keyword which is block
If i type query for blocked site redirect me to any other site or Show a warning or notification that the keyword or site is blocked.
Great addon, but please add some rule examples or tutorial. Regular Expressions manual that you linked in addon's description is not enough for inexperienced users.
In my case, I'd like to whitelist certain playlist on YouTube (and videos in it) , while blocking other videos on the site.
If you have time, please help me with this playlist as example:
https://www.youtube.com/playlist?list=PLEox0nUMFPF5D3_5X2DA9IrgsMZcRgg5x
(Adding PLEox0nUMFPF5D3_5X2DA9IrgsMZcRgg5x to the addon's whitelist is kind of working, but breaks site functionality and does not allow to actually play videos)
Thank you.
it will be a nice feature if the plugin ask for password in case of removing any linked form the list which is already added.
no need of password for adding link or keyword to the list but need password for remove or edit the link or keyword from the list.
A simple wildcard mode would allow to define items like https://*facebook.com/*
by escaping all special characters except *
.
Here's animplementation that you could use:
function escapeRegExp(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
}
function escapeRegExpWithWildcard(regexp) {
const escapedRegExp = escapeRegExp(regexp);
const escapedWildcard = escapeRegExp("*");
const escapedWildcardRegexp = new RegExp(escapeRegExp(escapedWildcard), "g");
return escapedRegExp.replace(escapedWildcardRegexp, ".*?");
}
Hi, is it possible to have a whitelist and a blacklist at the same time? For example, imagine I have multiple rules in my blacklist such as "procrastination", "wasting.*time", "filter.*this", "block.*this", etc. because I want to prevent myself from searching those things. However, sometimes there might be exceptions, for example, imagine I want to read a Wikipedia article about procrastination. In that case it would be OK to let me access the page because Wikipedia is a safe website. Therefore, it would be great to have the feature of defining both a blacklist and a whitelist of regexes, so that if a search matches a blacklist regex then block the page UNLESS it also matches a whitelist regex. Maybe instead of "white-list" a better name would be "exceptions-list".
The web-ext lint
tool listed 0 errors and two warnings:
applications
property in manifest is deprecated. use browser_specific_settings
insteadRecaptcha's do not work when I have Simple Blocker enabled: https://www.google.com/recaptcha/api2/demo
Firefox version: developer version 72.0b8 (64-bit)
I'm not sure what the issue is, but I'd be willing to investigate. Would you merge a fix if I developed one or is this extension unmaintained?
if multiple whitelist expressions are present this is treated as the URL must match all of them which makes it impractical to configure
Hi, is it possible to define case insensitive regexes? For example, to block google searches of the word "procrastination", if I define the rule "procrastination" but then I type e.g. "PROcrastination" it doesn't work. If instead I use the rule "[Pp][Rr][Oo][Cc][Rr][Aa][Ss][Tt][Ii][Nn][Aa][Tt][Ii][Oo][Nn]" it works but it's obviously very cumbersome, so I tried the rule "/procrastination/i" with the "i" modifier (https://www.w3schools.com/jsref/jsref_regexp_i.asp) to make the regex case insensitive but it didn't work.
Even if one permits usage of the addon from private mode, options don't appear properly.
From an addons.mozilla.org review:
It's currently got a strict_max_version set to Firefox 56 in the manifest. Which prevents it loading in Firefox 57. Is there a reason for that? You can just remove that line from the manifest and it will work on all future Firefox versions.
I'm unable to use this add-on in FF57 (Beta) because of this!
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.