ID:156869
 
I know its technically possible at lower levels but I haven't been able to find the appropriate interface with BYOND.

ts
Use javascript to pass the relevant information back to BYOND using a Topic() link.
In response to Nadrew
Based on what I know, you have to control the page in order to do that. I think you can use an iframe solution where you own the parent page and the user navigates within the iframe.

Can you think of an easier method?

ts

In response to Nadrew
Due to xss security issues, browsers have locked down access to the 'document.location' property when requested from a different domain so my iframe solution won't work.

As far as I can tell, the only way would be for BYOND to provide the location property via winget which would look something like this.

Example:
winget(p, "browser1", "location"); // Returns the location of the current page.


Thoughts?
ts
In response to Tsfreaks
Suggest it. (Though URL might sound better since location can be confused with loc :3 )
In response to Leur
I went back and forth between URL and location because URL is obvious while location is what the official property so... who knows. I don't care what they call it as long as I can have access to it. ;)

I will submit it as a feature request but I was hoping for some additional feedback before I do.

ts
In response to Tsfreaks
Well, I like the idea, however the people might not since it would be a security risk. GET Login's (god awful that they exist) and client browsing details would be exposed to the owners of the compiled game. (Some sites that they might not want to be exposed.) And even though you personally might not abuse this, there are some who would.
In response to Leur
Sure. BYOND would have to consider what it means to provide a a work-around to an explicit security mitigation.

The only concern I can think of would be with sites that pass confidential information as arguments with the URL.

I beleive URLs are sent as plain text so I'm under the impression that it should be a non-issue.

BYOND may need to block 'https' sites and they may need to provide a warning dialog which prompts the user to allow this type of request.

ts

In response to Leur
I submitted it as a feature request. I checked the "could be security issue" so it won't show up in the list. Didn't realize that when I submitted.

Thanks for the suggestion.
ts
In response to Tsfreaks
Added my support. And if anyone else would like to support this Click Here