TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Prism Button

82 pointsby zackliscioalmost 12 years ago

18 comments

tlrobinsonalmost 12 years ago
Just a reminder: you probably shouldn&#x27;t be placing untrusted third-party JavaScript files on your site.<p>At least audit and mirror the file on your own server.
评论 #5934080 未加载
评论 #5934197 未加载
评论 #5934201 未加载
pakalmost 12 years ago
Problem: Surveillance of all internet activity by a third party is bad!<p>Solution: Inject third party JavaScript into as many websites as possible!
评论 #5934782 未加载
评论 #5935926 未加载
TheSisb2almost 12 years ago
The code for this needs major cleanup. &quot;var $ = document; &#x2F;&#x2F; shortcut&quot; may kill jQuery and break your site. This also declares the following global namespaces variables: cssId, head, and link.<p>The code is hosted on an untrusted amazon instance, so requires a bit of work to crawl the links and copy paste the source for self-hosting and security needs. Cool idea though. Put this on Github if you want code fixes.
评论 #5934297 未加载
pkfrankalmost 12 years ago
Like the idea - many hands decrying PRISM - but I think the execution needs to be significantly more polished before any big-time sites will sport it.
评论 #5934010 未加载
Samuel_Michonalmost 12 years ago
First thoughts:<p>1) NSA’s PRISM logo is hideous and it’s copyrighted. You might want to create your own graphics.<p>2) Add an explanation of what PRISM is and how people can help fight it. For instance, link to a template letter for people to send to their representative.<p>3) You should create a page that generates a list of all participating websites. That gives websites some incentive to join.
评论 #5934654 未加载
评论 #5936664 未加载
PavlovsCatalmost 12 years ago
The page where you can get the button also should have a description of or a link to what PRISM is, even if it&#x27;s just a link to the Wikipedia article, it would increase the ability of this thing to inform people infinitely :)
conductoralmost 12 years ago
to the author:<p>Please consider moving the JavaScript file to another place: using GitHub&#x27;s gist service like this is considered as abusing the service (because gist was not designed for hosting you assets).
sinakalmost 12 years ago
I think we can do much better than this. Is there much interest by folks in running this kind of thing on their sites?<p>If so, we (folks at stopwatching.us) can make something more secure and safer to implement.
评论 #5934872 未加载
ivancaalmost 12 years ago
For anyone who wants a completly self-hosted and stand-alone solution (single file including logo in base64) here it is: <a href="http://jsbin.com/evafaz/4/edit" rel="nofollow">http:&#x2F;&#x2F;jsbin.com&#x2F;evafaz&#x2F;4&#x2F;edit</a><p>Thanks to a suggestion by <i>ozten</i> a call-to-action has been added: <a href="https://optin.stopwatching.us/" rel="nofollow">https:&#x2F;&#x2F;optin.stopwatching.us&#x2F;</a>
semerdaalmost 12 years ago
Code needs major cleanup. As a start encapsulate the code into a Module Pattern and stop chaining variables to the global prototype. Finally as mentioned here, why would anyone be placing links to a untrusted 3rd party JS code on their site?
oztenalmost 12 years ago
I wish this had a primary call to action - linking to something like <a href="https://stopwatching.us/" rel="nofollow">https:&#x2F;&#x2F;stopwatching.us&#x2F;</a><p>and a secondary call to action - how you too can add this button.<p>As is, I wouldn&#x27;t add it to my website.
评论 #5936044 未加载
brown9-2almost 12 years ago
<i>Show this button as a reminder that sharing should be a choice.</i><p>Is it not a choice anymore? Who is forcing you to share data with a company that might be legally required to turn it over to the authorities in the country&#x27;s they operate in?
评论 #5937101 未加载
overshardalmost 12 years ago
I&#x27;d be much more willing to add something like this if it didn&#x27;t look like a graphic on a website for Star Trek in 1999.
评论 #5935062 未加载
lepunkalmost 12 years ago
love the initiative but I have major concerns about the implementation.<p>assigning $ as an alias for document is totally useless and can kill jquery &#x2F; prototype running on the user&#x27;s site.<p>also please consider moving all variables out of the global scope. you are using variable names such as &quot;link&quot; which could cause major conflicts with 3rd party javascripts
pvnickalmost 12 years ago
Love it! This is the kind of initiatives we should be working towards.
rocky1138almost 12 years ago
Small typo, just a heads up: &quot;Add this to you site&quot;
评论 #5933984 未加载
corresationalmost 12 years ago
There is profound irony that each of these various PRISM protest sites thus far has used Google Analytics. While I have great respect and admiration for Google, Analytics and other centralization tools like it make the task of nefarious tracking dramatically easier, all to have a slightly easier to obtain visitor graph.
nudetaynealmost 12 years ago
Security and coding issues aside, the point of this is unclear to me. If the U.S. (or any) government is going to collect and analyze personal data, they&#x27;re going to do it, and good luck stopping them through voting, protests, etc. The best way to advocate privacy is to provide technology that makes the data difficult to analyze. Outside the technology industry, very few know or (surprisingly) care if their information is encrypted when providing it.