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 8544505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:34:30+00:00 2026-06-11T12:34:30+00:00

On a website AAA.com will include a javascript from website BBB.com which has to

  • 0

On a website AAA.com will include a javascript from website BBB.com which has to be non blocking execution script.

The javascript grabbed on BBB.com will extract the meta keywords, the meta title from AAA.com and it’ll be sending those data to a particular url to website BBB.com

The BBB.com website will be sending back an url for a video player.

I guess i’ll have problem because this is clearly a crossdomain request, which i wanted to solve with an JSON-P request, but the problem is that we can’t use jQuery.

How would you achieve that please ?

  • 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-06-11T12:34:32+00:00Added an answer on June 11, 2026 at 12:34 pm

    The first script from BBB.com will have to parse the keywords, serialize them into a URL query and dynamically create a second <script> tag that loads content from BBB.com (this is how you will get around the SOP restriction).

    The content from BBB.com would typically be a call to some function inside the first script that knows how to consume the content.

    For example, the first script might read like

    function showVideoPlayer(parameters) {
       // ...
    }
    
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = 'http://bbb.com/crossdomain?'; // includes serialized meta keywords
    // and now append script to e.g. the body so that the request is made
    

    And the content returned would be

    showVideoPlayer({param1: "value1", param2: "value2"});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using linux cpanel shared hosting. Am using http://aaa.com/script.php to scrape data from
The website will grab data from a database telling it which part to highlight,
My website at http://derek.genevievehoward.com/ will not display in Firefox, even though the HTML and
I've got two websites aaa.com and bbb.com. I want to, on button click, postMessage
Website needs to have a url of www.siteurl.com/file.pdf It will only every be this
Website: http://videojs.com/ How can I use the YouTube Skin on the frontpage? I'd really
The website I'm create has Events. Events have a title, date, and the userids
The website in question is http://oxfordbeach.com/bynight/ If you resize the browser, the nav bar
A website I've been working on will not match data using a PHP (preg_match)
My website has a sponsorship system that allows users to invite friends by email

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.