Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7179303
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:06:47+00:00 2026-05-28T17:06:47+00:00

I noticed today that delete will not work in chrome when this popup blocker

  • 0

I noticed today that delete will not work in chrome when this popup blocker is enabled.
https://chrome.google.com/webstore/detail/nmpeeekfhbmikbdhlpjbfmnpgcbeggic

When I click Destroy it would block the “are you sure?” confirm popup and send a Get request to the object I want to delete.

<td><%= link_to 'Delete', group, confirm: 'Are you sure?', method: :delete %></td>

This failure is silent and annoying if the users don’t realize what is happening.

Is there anyway to get around the popup blocker or at least warn the user that their popup blocker is keeping them from deleting the object?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:06:47+00:00Added an answer on May 28, 2026 at 5:06 pm

    This is not due to Rails : the extension you mentioned alters Chrome default behavior. If you want your application to be this-particular-extension-proof you should implement your own confirmation mechanism, using jQuery UJS.

    The issue is that on the current UJS master, the confirm method returns in a synchronous fashion (so it won’t wait for interaction with the user unless used with the built-in confirmation pop-up). There’s a pull request for that issue here. Rails UJS code can be found here.

    The other option is to remove the confirm option and use jQuery to implement your confirmation process from scratch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I noticed today that in D2009 (with update 1), TStringStream.ReadString does not move the
Somehow I never noticed until today that C++ supports nested classes. This surprised me
Noticed this today. Given that a file named existing exists in the PWD of
Today I noticed that a few Google advertisements in an adsence block on one
Netbeans 6.8 startup http://confusionstudio.com/eraseme/netbeans.png I noticed this today, and I searched for it on
I came back to a machine to work on it today and noticed that
Ive been modifying a form today, and testing it in Chrome. I noticed that
I noticed today that auto-boxing can sometimes cause ambiguity in method overload resolution. The
I've been using Javascript's Date for a project, but noticed today that my code
I am relatively new to C#, and I noticed something interesting today that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.