News for hackers. Stuff that matters.
Re:Show HN: Search YouTube without stopping the video, and m... by shortstuffsushi on Friday June 03, 2016 @08:27AM (#11829893)
I don't think you have the option to say "this app needs Read and Change for just this one domain," it's pretty much an all or nothing sort of deal. This one uses it to edit the page on YouTube, so it has to require it for all.
Re:Show HN: Search YouTube without stopping the video, and m... by roansh on Friday June 03, 2016 @08:30AM (#11829902)
There is! In extension's manifest.json you can mention for which URLs your extension needs permission. This extension is asking for "http://*/*", "https://*/*". Which is all of them.
Re:Show HN: Search YouTube without stopping the video, and m... by tnorthcutt on Friday June 03, 2016 @08:32AM (#11829912)
You do have that option. WikiTube, mentioned elsewhere in this thread, only requires read & change permissions for "all wikipedia.org sites".
Re:Show HN: Search YouTube without stopping the video, and m... by BinaryResult on Friday June 03, 2016 @08:46AM (#11829985)
Indeed, that one was an insta-add for me, this one however I will pass on until it is similarly restricted to youtube domains.
Re:Show HN: Search YouTube without stopping the video, and m... by xyclos on Friday June 03, 2016 @09:49AM (#11830267)
a pull request has already been merged: https://github.com/darajava/youtube-smooth/pull/24
Re:Show HN: Search YouTube without stopping the video, and m... by yigitozkavci on Friday June 03, 2016 @10:26AM (#11830470)
I don't think merge has been updated on the store yet, has it?
Re:Show HN: Search YouTube without stopping the video, and m... by darajava on Friday June 03, 2016 @11:02AM (#11830702)
No, it'll be a day or two before I get around to that I'm afraid
Re:Show HN: Search YouTube without stopping the video, and m... by haukilup on Friday June 03, 2016 @09:41AM (#11830229)
I'm genuinely curious - where did you get this idea from? It's definitely not the case, so I'm wondering how you arrived at it.
Re:Show HN: Search YouTube without stopping the video, and m... by jasonellis on Friday June 03, 2016 @10:27AM (#11830477)
I was under the same impression. I've never developed a chrome extension, but just from following developer communities I thought I had seen complaints in the past about broad access to website data that the Chrome extension API required you to request.

Now that I look, it's probably a misunderstanding most of us have because of the lack of granularity in Chrome extension permissions: http://lifehacker.com/5990769/why-do-chrome-extensions-need-...

Re:Show HN: Search YouTube without stopping the video, and m... by JeremyBanks on Friday June 03, 2016 @01:17PM (#11831651)
If you install an otherwise-compatible Greasemonkey user script in Chrome without appropriately adjusting the metadata, it will default to requesting access to all domains. I think these were more commonly used in the earlier days of Chrome, and contributed to this misunderstanding.
Re:Show HN: Search YouTube without stopping the video, and m... by shortstuffsushi on Friday June 03, 2016 @01:26PM (#11831722)
For what it's worth, the last time I worked on an extension was in 2012, and a friend did most of the work setting it all up, I just wrote some of the code. This was the impression that I was under, but apparently it isn't the case.
Re:Show HN: Search YouTube without stopping the video, and m... by vehementi on Friday June 03, 2016 @10:02AM (#11830335)
Moreover why would they have so confidently made a comment full of such misinformation?
Re:Show HN: Search YouTube without stopping the video, and m... by rifung on Friday June 03, 2016 @10:22AM (#11830445)
I don't know where you're from but in my experience when people use "I think" it implies that they aren't completely sure what they are saying is correct. It's used similarly to "to the best of my knowledge".