When using the Share extension with DTTG it ‘follows’ the clipped URL - this is great e.g. with URL shorteners as it locates the target link, rather than the shortened link.
Is it possible for the DTTG share extension to share cookies with the DTTG app to prevent this from happening? (From my own programming I know that NSURLSession can technically share cookies, but not sure ofcourse if that fits the design of DTTG)
If not possible: is there a way to prevent DTTG from ‘following’ the link (for specific sites)? Because it grabs the URL and title from Safari first the are correct on the first clip, but actually update to the wrong URL / title.
The work around for this would be an iOS shortcut, but it would be nice if this could be solved with DTTG.
Hopefully not. The share extension is running in your browser, and DTTG is a completely different app. You’re basically asking your browser to leak its content to other apps. Which it will not and should not do.
DTTG is running its own instance of a webview (or something like that) which should have its own cookie jar.
I’m not sure how NSURLSession relates to that. It also hopefully only shares cookies within one app and does not give them away to some completely unrelated different program. If it where, that would be a very huge security blunder. Not that Apple were incapable of those, but even they hopefully do not permit their APIs to leak data to other Apps.
One solution would be to not clip the link but rather the content in a non-HTML format.
That not how I would look at it. It’s the share extension provided by DTTG so in my view they are closely linked. It’s also how it is provided: if you delete DTTG you also delete the share extension as they’re part of the same package.
I wouldn’t mind them having a separate cookie jar (even preferably) but what is problematic in this case is that I can’t influence the cookie jar used by the share extension, leading to the issue I described.
That might be an option indeed - but it would already help if just the original non-redirected URL and page title could be saved. Because those are now redirected to a login page I can’t save the intended (original) URL at all
That would be a workaround indeed - but because the URL is redirected (because no cookies are used to save login details) I simply can’t clip the non-redirected boomkmark (other than by resorting to using a bookmarklet or iOS shortcut)
How do I capture a page in the DEVONthink browser?
I tried the 3 dots in lower left > convert > to markdown, it still doesn’t capture the logged in page.
Using the clip to DEVONthink in share sheet on iOS also same result.
And if you read the thread, you will see this is not something that can be guaranteed. Subscription/paywalled sites often employ methods to keep you browsing on their sites and prohibit – or at least make difficult – capturing their content.