« first day (2603 days earlier)      last day (2399 days later) » 
00:00 - 22:0022:00 - 00:00

10:19 PM
I'm trying to reverse-engineer Microsoft's JS code for opening the Windows Store app when you open a Store page in the web browser. It's at assets.onestore.ms/cdnfiles/…
I think I've determined what it does. It analyzes the user agent to determine how to open the Windows Store app or its equivalent (depending on whether it's a Windows 10 device, Xbox One, Windows Phone device, etc.), and if so, constructs and injects a <meta> tag into the webpage's DOM that instructs the browser to open the appropriate app.
<meta name="ms.opennativepdp" content="ms-windows-store:[trimmed]">
@BenN?
 
@djsmiley2k arguable
 
Now that is a clever code snippet.
 
That JavaScript file itself doesn't appear to do the meta tag creation, but it does return some info on whether/how it would be appropriate to generate a store link
The store is opened because the ms-windows-store protocol is registered to that app
Oh wait
It does indeed create the meta tag if appropriate, my mistake
 
Seen code like this before, @BenN? Not a JS guru, but can superficially read JS code.
You know there's an online JS beautifier, right?
 
Yeah, I used that but missed the meta creation because that bit was offscreen to the right
 
10:31 PM
I had to examine the source code of the page as rendered in the Firefox dev tools to find the <meta> tag.
 
I can't recall a specific code fragment I've seen that analyzes the user agent, but I'm sure they're used for various things around the web
e.g. download sites often suggest a version appropriate for the client OS, though that check could be done on the server
 
oneStoreUserAgent = function() {
        var n = window && window.navigator && window.navigator.userAgent && window.navigator.userAgent.toLowerCase && window.navigator.userAgent.toLowerCase() || null;
        return {
            isFromThresholdDevice: function() {
                return n && (n.indexOf("windows nt 6.4") >= 0 || n.indexOf("windows nt 10") >= 0) && n.indexOf("xbox") < 0 && n.indexOf("arm") < 0
            },
            isFromWinPhone10Device: function() {
                return n && (n.indexOf("windows phone 10") >= 0 || n.indexOf("windows nt 10") >= 0 && n.indexOf("arm") >
Google says this is my user agent:
> Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
(Firefox Developer Edition 56.0b12 on Windows 10 x64)
...wait a sec. Just updated Firefox and I get the Photon interface :o
> Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
What in Oblivion...
(sadly, this means Greasemonkey is now broken :( )
I'm going to force-enable legacy extensions.
I seriously hope Greasemonkey can be updated for Firefox 57 soon.
(At least this is the only XUL/XPCOM extension left on my Firefox installation...)
It'll take me a long time to get used to the Photon interface.
TL;DR: Firefox Developer Edition on my main laptop has updated to version 57, resulting in unexpected and massive changes.
I realize that extensions.legacy.enabled = true is not a supported configuration for Firefox 57, and legacy extensions can break without warning in future updates. I seriously need to see an update for Greasemonkey soon.
 
:)
 
10:47 PM
Migrating scripts to Tampermonkey.
Done. Removed Greasemonkey and set extensions.legacy.enabled = false.
@Bob, any hints with Firefox 57?
 
jrh
7
Q: Using two wireless NICs at the same time on Windows 10 desktop PC

ShackrockI have read similar questions in the past (i.e. How do I use my dual band Wi-Fi card to connect to 5GHz and 2.4GHz simultaneously on Windows? and Connect multiple WiFi networks simultaneously), however they don't address my question adequately. I am attempting to understand if I can use 2 separa...

 
Verbose logs again since previous change on retry? Did I miss that?
 
> Please enter the master password for the Software Security Device.
...is now...
> Please enter your master password.
Much better!
 
jrh
This Q's trying to connect two NICs to the same router, does anybody know offhand if it's possible to connect two NICs to completely different networks without bridging?
 
10:52 PM
Two separate routers or gateways or what exactly? What are the subnet details?
 
jrh
Different, incompatible subnets
 
Of the networks per each NIC you wish to configure
Reading the link over
 
jrh
let's say network 1 is 192.168.1.x and network 2 is 192.168.2.x
 
Nice username
 
This bug is 12 years old and it's only been fixed in Firefox 57!
 
jrh
10:54 PM
and there are no gateways involved between the two networks, and I'd prefer there not to be any
 
That bug seems out of my realm after looking at that!!
 
then just assign each nic an IP and a subnet mask and be done
 
(exactly 16 years old, not a day more)
 
make the physical connections go to where those need to go obviously.
 
jrh
10:56 PM
that's what I'd do, but this is wifi, not ethernet
I'm not aware of a way to have Windows connect to more than one wifi network without teaming
 
Not sure about routing between the subnets like that using the Windows OS as a router. I suppose adding something to the routing table but have to step away
sorry have to step away
 
jrh
well, that's the thing, I'm not looking for routing. I'm looking for something like having two ethernet cards on two separate networks, without any communication between the networks
no problem, thanks for the reply
I'm mostly just curious as to why wifi is more restricted than ethernet; I'm running a windows PC at work with 6 ethernet ports, all active at once, all on different subnets, no routing, no teaming, and no communication between networks
from what I've read for wifi, though, it seems like Windows itself can only handle one wireless access point at a time, which seems really odd
 
@bwDraco o/
 
Long story short, just updated to Firefox Developer Edition 57.
 
jrh
11:00 PM
...huh, another FF UI reboot?
 
Bob
11:15 PM
morn
 
25 mins ago, by bwDraco
This bug is 12 years old and it's only been fixed in Firefox 57!
@bwDraco Ah, the wonders of Open Source!
 
@bwDraco I don't even know JS and that's a cool website.
 
Bob
@bwDraco iirc that's because you can have other NSS auth methods
 
11:39 PM
@jrh I've never done that or tested that with wifi NICs, interesting. If I ever get a chance, I'll have to give that a whirl sometime and see if I have that same issue. Are you using both the same wifi NIC on same firmware, drivers, etc. What OS and what version and build number OS or whatever? Consider opening a question with all this detail perhaps if it's on topic.
 
jrh
let's just say it's Windows 7. I'm mostly interested in whether Windows is definitely limited to one AP/SSID at a time, regardless of how many wifi adapters you actually have
Is there now, or has there ever been, any version of Windows, or any Windows OS at all (including server) where you can connect to more than one SSID?
 
Have you Googled it a ton already?
 
jrh
yeah, came up with nothing
just the same old song and dance about wifi teaming (I know about that, but it's not what I want)
Linux may be able to do this, that's the closest I've got. No statement from anyone saying "No you absolutely can/cannot do this", or how to do it
short of reading the Linux kernel source, I am out of ideas; since this is a theoretical question about how Windows works I don't think it's a good fit for this site
 
lol @ "song and dance"
 
jrh
after the 15th article on wifi teaming that came up, no matter how I rephrased the question on Google, I started getting a bit silly, heh
 
Bob
11:46 PM
@jrh I thought you could...
remind me in 10 hours and I'll give it a shot
 
Out of the SE network, this *might* be the most on-topic site for this question.
Go ahead and ask, the worst that can happen is the question being closed.
 
jrh
I have four wifi cards on my laptop but no amount of prodding would let them connect to 4 different networks, I could connect to any of the four, but never more than one at a time.
 
Bob
@jrh steps 1 and 2 here imply it's very straightforward: support.speedify.com/article/…
 
jrh
@Bob that's the teaming song and dance I mentioned
I don't want to combine two connections
I want two independent connections
 
Bob
11:52 PM
@jrh no it's not. that's step 3
 
I could probably actually test this. I have two APs (granted on the same network, that's fixable) and a spare USB wifi thing... somewhere
 
Bob
lol
 
jrh
hmm. A third party wireless manager
 
Bob
yea I'd test but I'd have to wait till I get home. 10 hours.
 
Okay guys, this is gonna be a stupid question, but I want to make sure I got this right.
If I get a CPU with no graphics, I just can't get a monitor output, but I should be able to SSH or any other remote connects to it just fine, right?
 
Bob
11:56 PM
@jrh what?
steps 1 and 2 just tell you to connect to two networks with Windows' own control panel
ignore the whole speedify thing, that's irrelevant
 
jrh
pretty sure I tried that, but let me check, IIRC the control panel just directs you right to the standard "pick a wireless network" popup on the taskbar which only allows you to pick one network at a time
 
00:00 - 22:0022:00 - 00:00

« first day (2603 days earlier)      last day (2399 days later) »