Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permalink and Portal link are different than stock intel #684

Open
nexushoratio opened this issue Jan 7, 2024 · 3 comments
Open

Permalink and Portal link are different than stock intel #684

nexushoratio opened this issue Jan 7, 2024 · 3 comments

Comments

@nexushoratio
Copy link
Contributor

Stock intel generates URLs like this:
https://intel.ingress.com/intel?ll=37.423521,-122.089649&z=17
https://intel.ingress.com/intel?ll=37.423521,-122.089649&z=17&pll=37.423521,-122.089649
That is WITH /intel in the path name.

IITC generates URLs like this:
https://intel.ingress.com/?ll=37.423521,-122.089649&z=17
https://intel.ingress.com/?pll=37.423521,-122.089649
This is, with OUT the /intel portion.

Also, the game's own deep links include /intel.

While stock works without the /intel portion, it seems like a good way to track those using IITC.

Also, at least one Android helper app, Portal Intel URL to GPS does not recognize the links without /intel in them. I filed marcosdiez/IngressIntelToGps#4 for that. (Though considering it was last updated Nov 15, 2018, and the fact that the author has a more generic app that handles IITC generated URLs, I'm not sure it would ever be updated.)

@xscreach
Copy link
Contributor

xscreach commented Jan 7, 2024

Imho this is only result of niantic ability to do things properly.

They changed the intel URL from www.ingress.com/intell to intell.ingress.com several years ago and failed to reflect this everywhere.
They rather made intell work both with and without the /intell part.

So nothing to do on IITC side 🤷

@nexushoratio
Copy link
Contributor Author

Stock's URL includes the string intel twice. In the host and the path. The old host name doesn't come into play.

Using www.ingress.com/intel will redirect to intel.ingress.com/intel NOT intel.ingress.com/

IITC has always been about trying to be indistinguishable from stock intel in order to reduce chance of detection and not abuse the servers (and in some cases, even more efficient than stock).

This seems like an unnecessary difference.

@DanielOndiordna
Copy link

I agree with nexushoratio: only on Desktop IITC and IITC Button there is a different Portal link and Permalink.
IITC mobile for Android and the iOS version both format the links the same as stock intel does.
Stock intel portal links also include the map location.

What I understand is that the function window.makePermalink is used to create the Permalink and Portal link.
On mobile, this function is not used and replaced by Share portal which calls window.app.intentPosLink
intentPosLink creates a link including "/intel" and map location for portal links, just like stock intel links.

As long as the IITC core function is not changed, I have published a plugin on my website that will fix the makePermalink function, for those in need of stock intel links on Desktop IITC:
https://softspot.nl/ingress/plugindetails/iitc-plugin-fixdesktopportallinks

@nexushoratio nexushoratio changed the title Permalink and Portal link are different than stock intell Permalink and Portal link are different than stock intel Mar 26, 2024
nexushoratio pushed a commit to nexushoratio/ingress-intel-total-conversion that referenced this issue Mar 30, 2024
It looks like when `/intel` was removed with e5fe5d8, stock was not adding
the string to the URL.  Currently it does in both the web and scanner apps.

Closes IITC-CE#684.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants