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

  • Home
  • SEARCH
  • 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 138929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:20:39+00:00 2026-05-11T07:20:39+00:00

I have a Google calendar embedded on a webpage, with events related to activities

  • 0

I have a Google calendar embedded on a webpage, with events related to activities the site is organizing. Some calendar events have links that redirect the user to a page, within the same website, which has more information and the option to enroll in the event.

The problem however, is that since the end of last month, Google imposed a redirect notice that doesn’t even automatically redirect. The links I create on events are changed by Google and, once a user clicks on a link, a new tab opens leading to a page with a redirect warning that the user must click. Since I am providing the users with a link to within the same website this is very inconvenient and makes no sense at all.

I’d want the users to be able to click a link on the calendar and go through to the webpage with the relevant data.

Do you guys know how I can go around this warning?

My thought process:

  1. Initially, I thought of using JS to rewrite the links but since the calendar’s iframe is in a different domain, the browser won’t allow it due to XSS exploits (AFAIK).

  2. I could build my own AJAX calendar and sync it with Google’s using the API, but that’s a hell of a lot of work because of stupid ‘feature’ that makes no sense. I like Google’s calendar and I’d like to use it.

  3. The third thing that I though of was that, instead of having an iframe with the calendar I could use AJAX to fetch the entire code on the frame’s url. Then I’d just rewrite the links on the that code with JS. Could this work?

I would be REALLY thankful for any help. This is driving me insane!


Using Jon Cram’s input I created a php script that parses the code and makes the adjustments. However I could only get that working for the html version. No AJAX for me. =(

  • 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. 2026-05-11T07:20:39+00:00Added an answer on May 11, 2026 at 7:20 am

    The same origin policy will prevent JavaScript served from your domain from interacting with data served from a different domain.

    You are therefore right in saying that option 1 won’t work.

    The same origin policy also applies to option 3 as you have stated it. JavaScript served from your domain won’t be able to make a direct HTTP request to whichever domain serves the calendar code.

    You will need to acquire and modify the calendar code, neither of which can be achieved with JavaScript using today’s most commonly used browsers. When FireFox 3.1 and IE8 are in common use and Google serves the correct HTTP Access Control headers this could be achieved with JavaScript alone.

    To modify code served from another domain, you will need to utilise some form of server-side process.

    A server-side script will be able to request the calendar code. The same script can then modify the code as needed and output it in whatever form you require.

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

Sidebar

Ask A Question

Stats

  • Questions 58k
  • Answers 58k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Hibernate provides filters to accomplish this. Example beans: public class… May 11, 2026 at 8:50 am
  • added an answer Generally I want to catch all messages, at least WARNings… May 11, 2026 at 8:50 am
  • added an answer Like this: PointF[] points = new PointF[]{ new PointF(0,0), new… May 11, 2026 at 8:50 am

Top Members

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

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.