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

Not working with browser's back/forward button #1

Open
marypo opened this issue Mar 22, 2018 · 11 comments
Open

Not working with browser's back/forward button #1

marypo opened this issue Mar 22, 2018 · 11 comments

Comments

@marypo
Copy link

marypo commented Mar 22, 2018

Thanks for the prompt reply. I'm using FF 58.0.2 on OS X and Safari on iOS. Same issue in both.

Hi eminos, when I use my browsers back or forward button the page remains empty and I must reload to see my instagram story. Can you do something about this?
--

@eminos
Copy link
Owner

eminos commented Mar 22, 2018

I'm not able to replicate this.
The only issue I'm seeing is on older browsers which don't support fetch (https://caniuse.com/#feat=fetch). But that's not your issue since you're seeing the feed.
Do you get any errors in the console?
Are you using a build in Koken template? Which one?
Could you provide a link?

@marypo
Copy link
Author

marypo commented Mar 22, 2018

I'm using the Madison template from Koken. When you go here https://tinyurl.com/y88w47o4 and then click any other navigation link you will get a blank page when you want to return by help of the back button. Console says, it is not able to load the script:

Laden fehlgeschlagen für das <script> mit der Quelle "https://www.mydomain.com/storage/plugins/eminos-instagram-feed/dist/instagram-feed.js".

@eminos
Copy link
Owner

eminos commented Mar 22, 2018

I can't access that tinyurl link. "Access forbidden!"
Is your Koken site in the root of the domain, or in /koken/ ?

@marypo
Copy link
Author

marypo commented Mar 22, 2018

I can't access that tinyurl link. "Access forbidden!"

Kind of referrer protection (bad bot). Just cut and paste URL again, that should do.

Is your Koken site in the root of the domain, or in /koken/ ?

in /koken/

@eminos
Copy link
Owner

eminos commented Mar 22, 2018

I've tried running Koken in a directory like that, and it works fine (plugin loads and back/forward works).

The error message you're getting suggests it's trying to load the plugin from the root rather than from /koken/. But I can not replicate this. Maybe you need to clear the Koken and/or browser cache?

And since I can not reach your website I can't take a look there either.

@BlackSkorpio
Copy link

BlackSkorpio commented Mar 22, 2018

Hi there @eminos
Use this; [removed link]

Using latest FF running Win7 replicates the behavior reported by @marypo

@eminos
Copy link
Owner

eminos commented Mar 22, 2018

Thank you @BlackSkorpio
That page doesn't work in Chrome ("Access Forbidden"), but it works fine in FF.
I can see the problem now, I think I know what's wrong. Will fix it soon.

@eminos
Copy link
Owner

eminos commented Mar 22, 2018

This should now be fixed in this commit:
33ec02f

@marypo, could you please test this, since I don't have any Koken theme that's using pjax.

@marypo
Copy link
Author

marypo commented Mar 22, 2018

Thanks @eminos I will test it tomorrow morning and report to you.

@marypo
Copy link
Author

marypo commented Mar 23, 2018

@BlackSkorpio Thanks for helping! Could you please delete the link to my website and/or replace the domain name – I don't want traffic from here. Thank you.

@eminos
Copy link
Owner

eminos commented Mar 23, 2018

@marypo I've removed link. I had it already from the tinyurl, the problem is/was that it doesn't work in Chrome, so I got confused. I can test it in Firefox, no problem.

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

No branches or pull requests

3 participants