gintas / crackbook Goto Github PK
View Code? Open in Web Editor NEWChrome extension for discouraging the use of attention-sucking websites
License: MIT License
Chrome extension for discouraging the use of attention-sucking websites
License: MIT License
Labas Gintai,
Nice project, but why does the notice only fire up at window.onload? On some sites this even causes a bug, on Youtube for example the video loads on top of the dimmer. I would suggest to fire up popup.js at "document_start" (setup in the manifest file) to prevent the page from loading completely and then load it only after the timeout. I guess this can be a bit complicated, because you implemented with a bit of a different logic, but quite necessary I think.
Also, a cool idea for implementation would be to actually try to analyze user's browsing behavior and try to guess which sites are junk (same page being refreshed a lot, page opened and closed in a very short time, etc).
Anyway, good work, helps me with my revision. (Or maybe doesn't because I'm now spending time posting this.)
Allow making categories of websites. For example the category social wasters would be block after 10clicks, news after 5 clicks.
I've just tried the extension and it works great but for me it only delays facebook once, when I open the page, and then lets me browse it as long as I want without delays (as long as I stay in the same tab). This is quite "dangerous"! :) Once you wait 15 seconds to get to the site you can lose hours there. I'm using Chrome 20.0.1132.34 beta-m.
I have feedly.com added to my list of domains on crackbook, yet when I visit it (while logged in), the "wait 9 seconds for the content to appear" message displays for about 2 seconds, before disappearing, prematurely exposing me to my drug: feedly.
No other sites seem to be effected by this.
If you open youtube with a video link, the video stands out, so you can watch it.
Don't know if this happens on WIndows/OS X.
It would be nice to allow patterns in URLs (for example *.imgur.com would match a.imgur.com and b.imgur.com).
Currently it is way to transparent and you can see text behind it.
Hi, is there a way to block just a root url like a home page but not subdirectories? For example, say I want to block the youtube.com home page to prevent mindless looking around but I want to allow subdirectories so I can still manually go to specific videos intentionally.
If not perhaps you could add the ability to put quotes around a url to block only exact matches with that URL but not subdirectories in that top level url.
If there's other stuff to do in browser, making it so the tab doesn't restart after switching encourages getting that stuff done instead of just sitting and waiting for the count to end.
On facebook or on inbox.google.com when I try to search something (in search box), dim screen appears. It is not what I want - I want to block first visit of page (to be able to think if I really need it:) ).
It is little bit strange because there is no change in url, but I have solved it by commenting watchUrlChanges in dimmer.js :
function watchUrlChanges() {
/*
if (document.URL != original_url) {
original_url = document.URL;
dim('reshow');
}
*/
}
Let's just say I set a 30s timer before a website opens up and I try to open the blocked website multiple times a day. With an increment interval set to 1s, let's say the wait time is now 40s.
This 40s wait time does not reset on the next day to 30s and continues from there.
If I try to open the blocked website multiple times over the period of a month, I'm looking at 10s of minutes of wait time, which doesn't make sense.
Does it make sense to reset the timer every single day? If not, could you explain why?
Nevermind, the functionaltiy is already implemented. I somehow overlooked this, as the site loads normally upon a refresh (which is fine).
Include the option to set maximum time spend on the website and/or after waiting the initial time, block the website after 30seconds(custom value)
(Looks like this repo isn't very active anymore, but I'll try for this anyway)
What's to stop someone from just removing "junk sites" from their list? That's what I find myself doing if I really want to scroll endlessly. Maybe you could use something like a time delay on the settings to prevent users from disabling it.
As of now, the dimmer says "Wait 20 seconds for the content to appear." (Substitute 20 for any timeout value you want.)
It would be nice if instead of the static text, the number of seconds would go down until the dimmer disappears. Or have you decidedly not done this?
The extension starts with a list of websites in the Junk Lists which, in my case, didn't make any sense...
(And I could only remove them one-by-one (uncheck, SAVE, reload - then the next). Otherwise they appear back.
--edit--
After after removing the last one, all of them appeared again?
This might be my fault, since I'm using Chrome Beta.
Anyway, replacing the websites by ones I really want to block worked.. thank you for the extension.
I'd like this so that I can block going to reddit.com directly, but if I'm going a google search and the result that looks useful is on reddit, that won't be delayed (or won't be delayed much).
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.