Keyboard on keyboard. Spoofing user agent strings.
Monday, November 27th, 2017 10:56 pmOver at Qiao's house, I hooked up a bluetooth mouse and keyboard to my laptop, as typing directly on the laptop gets frustrating after a while.
The laptop sits on a movable cart. First I tried putting the keyboard on another little table/stand in front of the cart. But that way, the screen was too far away. Then I tried turning the laptop sideways on the cart, so the keyboard could fit in front. But that way, the mouse didn't fit. Then I thought to try placing the keyboard right on top of the laptop's keyboard. I thought that would cause the laptop's keys to accidentally get pressed. But it doesn't. It works perfectly fine that way. Hah.
..
While searching for add-ons that work in Firefox 57, I found uMatrix. It's similar to NoScript, in that you can select what items are allowed to run for each web page. But it's a little different. For example, I think uMatrix can be configured to only allow Facebook scripts to run on Facebook pages. Setting up those kind of rules in NoScript isn't easy. Each add-on can do certain things that the other doesn't, and many people use both. So now I'm trying out uMatrix.
uMatrix can spoof your browser's user-agent string by randomly changing it every x minutes. You can customize the list of strings that are used. The next link has a dynamically created list of the most common user agents strings, based on the people who have visited that site. A comment on the page explains that the numbers are somewhat skewed to older browser versions, as it takes some time for the older entries to drop off.
As long as I'm still using Firefox, I think it is best to only spoof using other Firefox user-agent strings. Firefox's market share is low enough that I don't want to make it seem even lower by pretending to be using a different browser.
So, below is a list of the most common Firefox user agent strings, taken from that page today, along with their percentage. Each individual string is fairly uncommon, but sum is about 17%. That's actually pretty high, compared to the numbers on the Wikipedia browser usage share page.
2.7% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
2.3% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
1.5% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
1.3% .. Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
1.2% .. Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
1.1% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
0.8% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
0.6% .. Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
0.6% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
0.5% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
0.5% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
0.4% .. Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
0.3% .. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
0.2% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/57.0
0.2% .. Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
0.2% .. Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0
The laptop sits on a movable cart. First I tried putting the keyboard on another little table/stand in front of the cart. But that way, the screen was too far away. Then I tried turning the laptop sideways on the cart, so the keyboard could fit in front. But that way, the mouse didn't fit. Then I thought to try placing the keyboard right on top of the laptop's keyboard. I thought that would cause the laptop's keys to accidentally get pressed. But it doesn't. It works perfectly fine that way. Hah.
..
While searching for add-ons that work in Firefox 57, I found uMatrix. It's similar to NoScript, in that you can select what items are allowed to run for each web page. But it's a little different. For example, I think uMatrix can be configured to only allow Facebook scripts to run on Facebook pages. Setting up those kind of rules in NoScript isn't easy. Each add-on can do certain things that the other doesn't, and many people use both. So now I'm trying out uMatrix.
uMatrix can spoof your browser's user-agent string by randomly changing it every x minutes. You can customize the list of strings that are used. The next link has a dynamically created list of the most common user agents strings, based on the people who have visited that site. A comment on the page explains that the numbers are somewhat skewed to older browser versions, as it takes some time for the older entries to drop off.
As long as I'm still using Firefox, I think it is best to only spoof using other Firefox user-agent strings. Firefox's market share is low enough that I don't want to make it seem even lower by pretending to be using a different browser.
So, below is a list of the most common Firefox user agent strings, taken from that page today, along with their percentage. Each individual string is fairly uncommon, but sum is about 17%. That's actually pretty high, compared to the numbers on the Wikipedia browser usage share page.
2.7% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
2.3% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
1.5% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
1.3% .. Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
1.2% .. Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
1.1% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
0.8% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0
0.6% .. Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
0.6% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
0.5% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
0.5% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
0.4% .. Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
0.3% .. Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
0.3% .. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
0.2% .. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:57.0) Gecko/20100101 Firefox/57.0
0.2% .. Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
0.2% .. Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; rv:57.0) Gecko/20100101 Firefox/57.0
0.2% .. Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0