Title: Plugin not working on Instagram Webview
Last modified: May 13, 2021

---

# Plugin not working on Instagram Webview

 *  [santosglucas](https://wordpress.org/support/users/santosglucas/)
 * (@santosglucas)
 * [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/)
 * Hi,
 * The scroll to id function is working on the website, but not working when inside
   a webview (I only tested the instagram webview). Is there any thing I can do 
   to fix it?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-working-on-instagram-webview%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/#post-14436081)
 * Hi,
 * Can you explain a bit more the issue? How does instagram webview work? Which 
   platform you’re testing?
 *  Thread Starter [santosglucas](https://wordpress.org/support/users/santosglucas/)
 * (@santosglucas)
 * [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/#post-14436441)
 * Hi [@malihu](https://wordpress.org/support/users/malihu/) !
 * Im testing it on android. I’m not sure how does it work, I just access my link
   in the bio ( [https://stylebar.net.br/seja-franqueada/](https://stylebar.net.br/seja-franqueada/))
   and it opens in a browser inside instagram. The “SAIBA MAIS” Button should scroll
   down to the form, but it doesn’t. If I test it on chrome in my cellphone, it 
   works just fine.
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/#post-14438245)
 * I see. We’ll need to do a test but you’ll need to manually edit the file(s). 
   Can you do this? If yes, try this:
 * 1)Edit your WordPress `wp-config.php` file (it’s in your site’s root dir) and
   add the following in a new line before the `/* That's all, stop editing! Happy
   publishing. */` comment:
 * `define('PS2ID_MINIFIED_JS', false);`
 * Save the file.
 * 2)Edit plugin’s `jquery.malihu.PageScroll2id-init.js` file (it’s inside `js` 
   dir inside plugin’s `page-scroll-to-id` folder). Add the following in a new line
   after line 173:
 * `,inIframe: true`
 * Save the file.
 * Test and let me know
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/#post-14455376)
 * [@santosglucas](https://wordpress.org/support/users/santosglucas/) Hey! Did you
   manage to test the changes I posted above? Let me know when you have 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin not working on Instagram Webview’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/plugin-not-working-on-instagram-webview/#post-14455376)
 * Status: not resolved