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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T08:18:44+00:00 2026-06-06T08:18:44+00:00

I have code seperated in two domain. Both domains and code is trusted. I

  • 0

I have code seperated in two domain. Both domains and code is trusted.

I wanted to access code of domain B VIA jquery’s .load() method from domain A, but came to know that its not possible due to restriction of data-access between cross-domains.

YQL came as option to me, worked fine. BUT it doesn’t brings the data in < script >< / script > tags. I have examined the data being returned and it has all the HTML of called page from Domain B otherthan SCRIPT code.

I need to bring SCRIPT code and execute it.

Couldn’t find anything related in YQL help (they only mentioned how to remove < script > from returned data), but in my case YQL itself removes scripts.

  • 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-06T08:18:47+00:00Added an answer on June 6, 2026 at 8:18 am

    What’s happening at the url you’ve provided, is not so much that script tags are being stripped, as the YQL select returning only the body of the document by default, and your script is placed in the head.

    You can get the head with a query such as this one:

    where url="..." and xpath='/html/head/'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the understanding that using data access routines directly from presentation code is
I have code that uses jquery.slideup and jquery.slidedown How can i know that div
I have Java code which queries calendar entries from a Lotus Notes Domino server
I have some code that reads from an ini file in Javascript, using activex
Suppose you have two seperate ASP.NET Web Application projects that both need to use
i have a jQuery code and the html code on my page. The code
Let's say for example that I have two functions with random code inside and
I have to deploy my ASP.NET application into two seperated IIS servers. My application
I have seperated out a test to determine if two schedule items overlap because
I have a small architecture doubt about organizing code in separate functional units (most

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.