hadalin / chrome-hidefedora Goto Github PK
View Code? Open in Web Editor NEWChrome extension that removes troll youtube commenters (development discontinued)
Home Page: http://hidefedora.hadalin.me
License: MIT License
Chrome extension that removes troll youtube commenters (development discontinued)
Home Page: http://hidefedora.hadalin.me
License: MIT License
It has been alerted to me that the Report and Ban
button implemented on YouTube via the extension has a downfall of looking like a YouTube button. People are actually assuming this is a YouTube function by mistake and using this as a report function, or a spam button instead of its real intention.
I think the button should be change, and it should clearly label that it is used to ban fedora users.
This is the quote from my blog post:
Imho, you should redesign the “report & ban” link, because it looks like it is built in YouTube, and that may be why you get lots of regular spam reports. I found it confusing at first. I think it would be better to clearly identify this as the Hide Fedora extension feature. Maybe name the link “Ban & Report Fedora Spam” , something like that. Or add a tiny Fedora icon?
I think we should make it like the little fedora icon option. That makes it quite clear. And make it on hover say "Report and Block Fedora User"
All tough the reddit trolls are hidden, a lot of people comment things like "Why are all these reddit trolls here?", or "What's up with all the fedora's".
That's somewhat funny but still ruining my comment browsing experience, maybe we could add some keyword hiding options ( just for the local user ) ?
I would like to hide every comment that includes the word "reddit", "fedora" or perhaps even "Troll".
Maybe It's a bit extreme, but the amount of spam is also extreme...
Some other keyword that come to mind: "Jesus, nazi, religion.."
You know when any of these keywords pop up in an online conversation the thread is pretty much lost from there.
I don't know if this is the right place, but...
Tyrone Johnson -- 110801238808982325053
I downloaded Hide Fedora exclusively for the ability to locally hide problem YouTube commenters.
The only thing I see is a little "HF" button by YouTube comments, click on it, it says "Are you sure you want to report Fedora profile?" No, I don't want to report this person, I just want to hide them locally. How?
In options there is a page to see your local bans, but I can't figure out how to add anyone to the list! THere is no field to enter a term like there is on the adjoining tab for "banned words."
THanks for your efforts.
A user sent me this by email:
Hello, I was wondering if there's any feature to locally allow one of the redditor trolls, namely Berta Lovejoy, as I find her hilarious.
I don't know if we want this? Seems like it may not be needed but I thought I should still post it here.
Since memcache is now in use to serve the json file I think you could lower the update interval to be something like every 1 hour instead of every 3 hours. The server should now easily be able to handle it as it is being served from memory instead of from a cache file.
I've noticed that if a banned word, such as "r/", is is present near the closing of a comment, which can only be revealed by clicking "show more", than the comment itself is not blocked. This is an issue, since many fedora wearers avoid using keywords such as "le Reddit" and moderator of "r/..." until the closing of their long-winded comment. This leads to some of their comments still being shown.
It's also possible I am simply not using the banned words list correctly. I am assuming that if I add "r/" to the list, all comments including words such as "/r/feminism" or "/r/racism" or so on will be blocked since they include "r/" somewhere in the comment.
Sometime it happen, random, dont know why. please take a look at it.
When submitting the YouTube URL we get URL's that look like this sometimes: http://www.youtube.com/watch?v=cZDn0U0w78k&list=LLSOSpeXvDuIW8yRpu0-srUg&index=9
We only need the http://www.youtube.com/watch?v=cZDn0U0w78k
part. The ampersands need to be converted to their proper &
however they are not being converted so to avoid problems might as well just strip off what we don't need.
Right now it is really easy for someone to go through and just hit the report button on everyone on a YouTube video. This makes it easy for the fedora users to quickly make a large amount of false reports. To discourage such a behaviour I such putting the button back in the drop down like it originally was, OR make a popup to confirm their intent.
With almost 30 000 users on the Chrome extension alone it means there have been an increasing number of false reports as people just easily go through the comments reporting them all.
The author the article on ghacks suggested the following:
Hide Fedora works well both in Firefox and in Google Chrome. The one thing that I dislike is that you don't have control over the global blacklist. An option to decide whether you want to use it or not would certainly be appreciated by users of the add-on.
Think this is a good idea? Allow the user to have the option to only use the local list if they'd prefer?
Version 1.7.3 can now "read and change your data on jhvisser.com and www.youtube.com".
I've tried searching to understand why the extension now needs this permission. Without any explanation it seems very fishy. Any info/rationale on this change would be appreciated, thanks!
Is it possible to add in some kind of time checking thing. As in check how old the cached copy of the json file is that is stored locally in Google chrome. So my idea here is the following:
When you grab a new json, locally save a time stamp of when you last grabbed the json file. Make it only grab a new one if the last one grabbed is more than say a 12 hours old, or a day old.
I may be serving a cached file, which reduces the computation power the host requires, however dealing with that many requests itself is still a lot for my host to handle. This would also save the user some data and speed up load times as they don't need to grab new data every time.
We are almost to 60 000 users on Chrome alone and as we grow there are just going to be more and more requests. It would be nice to reduce the amount of requests if possible.
Advertise somewhere in the Chrome Store description that you can submit an appeal to a ban:
https://jhvisser.com/hidefedora/html/unban/appeal.php
When I click the report button, it does a post to
https://jhvisser.com/hidefedora/index.php
This server responds with the full html page of index.php. That doesn't make any sense. It should just return some json or nothing at all.
A couple days ago the extension simply stopped working entirely. I didn't add any new extensions. I tried disabling and reenabling the extension and I tried uninstalling and reinstalling it and it still doesn't work.
My extensions page says it's installed, enabled and working properly but It doesn't block any banned profiles and there is no Hide Fedora button under comments.
Maybe you could set up some lightweight backend at heroku or something ?
It would also be cool if the user can just click a user name in the comment section to block it immediately locally and then after review include it in the global blacklist. Sending a pr or opening an issue obviously doesn't scale that well...
If I have some time I might look into it.
When submitting the YouTube URL we get URL's that look like this sometimes: http://www.youtube.com/watch?v=cZDn0U0w78k&list=LLSOSpeXvDuIW8yRpu0-srUg&index=9
We only need the http://www.youtube.com/watch?v=cZDn0U0w78k
part. The ampersands need to be converted to their proper &
however they are not being converted so to avoid problems might as well just strip off what we don't need.
YouTube has a new UI, this no longer works with it.
Here are some new users I found that are not being blocked:
Larry Goldman
King Fedora of Euphoria
Fredrick James Archibald
Currently there is a 1 minute cooldown on submitting to the site. I suggest displaying a warning message when a user tries to submit another report before this time is over.
To make this change I guess you will still need to allow it to be added locally to the banlist, but don't submit the post request.
This isn't totally needed, it's just that a lot of people use the extension who are just using it to mess with it and submit false reports (fedora users), so I think giving them a message about it not working may discourage their habit of going through and reporting a few comments on every video they watch.
Or just leave it how it is and let the user think it is reported when it may not be. Either way works 😈
What is up with thecatapi in the code? I can't tell what the purpose is of it, just curious.
I've compiled a few more IDs that should be added to the list.
110295029696114670461
108844930328863785346
106404728354696707433
113855963356636238346
Currently the report button says "Report Reddit Armie".
But what If i just want to report a regular spammer, does it make sense to use the application for this ? I feel like the scope of this extension could be bigger then just being about Reddit Armie, naming it after them alone is giving them to much credit already ( just my feeling ).
Maybe the button text could just be 'Hide user comments" or "Report and Hide" or something more general like that.
Any thoughts on that ?
Some users may not even know there is an options page, or may find it annoying to get to the options page. You have to go to the extensions page, find the extension, and then hit options. A button could be added to the toolbar that when click opens the options page.
If someone doesn't like the button there it is very easy to just right click it and hide the button anyway, so it shouldn't annoy anyone.
A lot of popular open source browser plugins seem to use Gulp.js to build the file.
I'm only suggesting this as it could aid you. If you don't think it would help you out though, then you can just close this :)
I've spent the better part of an hour working on getting this extension to work and every indication i see is that it should be working but i keep seeing the atrocious youtube comments. Is this out of date? or do i need to change some chrome setting?
Thanks
Since arround march 1st Hide Fedora is not working for me. I've tried removing and adding 2 times now, and it won't even let me add fedora commentors to my local blacklist. It behaves as if it was not installed.
When a user reports someone it should hide them locally so that the comment is gone right away, and it will be hidden even if we don't approve it. May be best to put local ones under another chrome storage key.
Thoughts?
On some occasions hidefedora will remove almost all comments from a video, or leave only a few. For each comment that's removed, a new one should be added to the list.
I know this might get tricky to do, but it seems necessary. Thoughts ?
If I got there through Related from another video, the extension does not work. Bad comments aren't blocked, ban buttons don't appear. When I refresh the page though, everything works again.
I'm having an issue where whenever I try to ban a new profile ALL youtube comments are replaced with "replaced with cat".
I'm guessing this is because there is a maximum number of banned profiles and I've gone over that maximum. I currently have 152 locally banned profiles. Whenever I try to ban another user the above-mentioned bug occurs, and the 153rd profile is listed as "plus.google.com/null" under the banned profiles.
If the maximum size of the local ban list is the problem, could that size be doubled? Or maybe increased by a factor of 10? Thanks!
I'm using chrome 51.0.2704 on OS X, 10.11.6. My other chrome extensions are adblock plus, speed dial 2, session buddy, the great suspender, and WasteNoTime.
edit: I forgot to mention the other extensions I'm using.
I suggest using the following CSS to style the report button:
display: inline-block;
height: 17px;
border: solid 1px transparent;
padding: 0 10px;
outline: 0;
font-weight: bold;
font-size: 11px;
text-decoration: none;
white-space: nowrap;
word-wrap: normal;
line-height: normal;
vertical-align: middle;
cursor: pointer;
border-radius: 2px;
box-shadow: 0 1px 0 rgba(0,0,0,0.05);
It looks like this:
Suddenly i don't see those "meow meow" comments anymore but the reddit comments have returned. i also don't see the button "hide fedora" anymore.. chrome says it's installed and active.. pls help, it's like if my freedom was stolen again.
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.