-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
128 lines (113 loc) · 7.26 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<title>Google Search History Inspector / Intersector</title>
<link rel="stylesheet" type="text/css" href="vendor/datatables.min.css"/>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="vendor/sha256.min.js"></script>
<script src="vendor/FileSaver.min.js"></script>
<script src="vendor/decode64.js"></script>
<script src="vendor/jszip.min.js"></script>
<script type="text/javascript" src="vendor/datatables.min.js"></script>
<meta property="og:description" content="You tell Google a lot about who you are through your searches. This tool helps you inspect and reflect on your Google search history so that you can get a sense of what's been on your mind over the years and what Google remembers about you. Two people can use it together to reveal searches that they have in common with each other and discover hidden shared interests.">
</head>
<style>
body {
margin: 50px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.docs {
max-width: 1000px;
margin: 10px auto;
padding: 20px;
line-height: 1.4;
border-radius: 5px;
border: 2px solid #999;
}
.dataTables_filter {
float: left !important;
}
#intersectFile { display: none; }
div#hash-password-form { display: none; }
thead th { cursor: pointer; }
#filterAddRelatedWordsButton { display: none; padding-left: 10px; }
#loadingMessage { padding-bottom: 10px; }
#searchCountMessage { padding-left: 20px; color: grey; }
.resultLink {text-decoration: none; color: black;}
#downloadPlainDiv { margin: 5px; }}
#intersectionDiv { margin: 5px; }}
</style>
<body>
<div class="docs">
<center><h1>Google Search History Inspector / Intersector</h1>
<a href="screenshot.png"><img src="screenshot.png" width=400></a>
</center>
<p>
You tell Google a lot about who you are through your searches. This
tool helps you inspect and reflect on your Google search history so that you
can get a sense of what's been on your mind over the years and what
Google remembers about you. Two people can use it together to
reveal searches that they have in common with each other and
discover hidden shared interests.
</p>
<p><b>Warning: Your search history is very sensitive data and it will
show up on this screen when you follow the instructions below. This
tool processes your search history entirely on your computer and does not send
your data to this or any other web site or service. (You can go offline or
disconnect your Internet connection after step 1 below if you're
skeptical of that!)</b>
<p>Ready? Here's what to do:
<ol>
<li>Go to <a target="_blank" href="https://takeout.google.com/settings/takeout">Google Takeout</a> to download an archive of your search data for your primary Google account. If you have more than one Google account that you frequently use, do this for each of the accounts.
<ul>
<li>Under "Select data to include", choose only the "My Activity" option and turn everything else off. (It won't hurt to include other data, but it will take much longer to export and download.) If "My Activity" is not available, you might have Google's search history turned off, or you might be using a Google G-Suite domain whose administrator has restricted data export.
<li>(Optional) To limit the activity to only searches, you can click on the "My Activity" line, select "Select specific Activity Data", and then untoggle everything except "Search". This will reduce the size of the Takeout download.
<li>On the next step, keep all the default choices (".zip" file type) and select "Create archive". Wait for the export to finish—this can take several minutes—and then download the resulting zip file to your computer.
</ul>
<li>Select the "Choose files" button below and select the zip file(s) you downloaded above.
<li>After a few moments a table with your searches will be displayed on the screen. From there you can page through your searches or explore them using the keyword filter and sorting features:
<ul>
<li>Click on the "Number of searches" header to prioritize the searches you've made most frequently.
<li>Click on the "Years searched" header to prioritize the searches you've made in the greatest number of years.
<li>Click on the "Most recent search" header to show them in time order, most recent first.
<li>Type something into the "Filter by keyword" box to show only the searches that contain a particular keyword. Then click on "Also show related searches" to broaden the filter to include topics related to the keyword you typed.
<li>Click the "Download to a .tsv" file button beneath the table to get a file that you can import into a spreadsheet program.
</ul>
<li>To learn what you have in common with a friend:
<ul>
<li>Click the "Download hashes for all searches to a file" button at the bottom of the table and choose a password to protect the data in the file. After a few moments, a file will be downloaded that you can safely send to your friend without revealing your searches.
<li>Your friend should do steps 1 to 3 above on their own computer and then select "Intersect with a friend's hashes". You will be prompted to type in the password you chose above and then select the hash file you've sent to your friend. At that point your friend's searches will be narrowed down to show only the ones that match a search you've made as well. <b>(Be aware that, although this will only reveal searches which you have in common with your friend, the results have the potential to be uncomfortable or surprising to one or both of you.)</b>
</ul>
<li>When you're done, close this browser tab and delete the Google Takeout zip file from your computer. If you'd like to delete items from your Google search history or change your search history settings based on what you've learned, head over to <a href="https://myactivity.google.com/">myactivity.google.com</a>
</ol>
</p>
<i><a href="https://docs.google.com/presentation/d/1luZS1ZnZdL2Eg3kOX82OQFnDwI5U-VoyJiZlnnjNE54/edit?usp=sharing">Here's a
recent presentation about this work</a>. Please send comments and questions about this tool
to <a href="mailto:[email protected]">Doug Beeferman</a></i></a>.
</div>
<center>
<input class="inputfile" type="file" id="file" multiple />
</center>
<br><br>
<script src="word_vector_data_mikolov1.js?v=1"></script>
<script src="compact_word_vectors.js?v=1"></script>
<script src="search_history.js?v=7"></script>
<div id="loadingMessage"></div>
<div id="intersectionMessage"></div>
<div id="result_table">
<table id="search_table" width=100% class="display compact" cellspacing="0">
</table>
</div>
<div id="hash-password-message"></div>
<div id="hash-password-form">
<form>
<fieldset>
<label for="password" id="hash-password-title">Password</label>
<input type="password" name="password" id="hash-password" value="" class="text ui-widget-content ui-corner-all">
<input type="submit">
</fieldset>
</form>
</div>
</body>
</html>