proxy needed within iframe - javascript

I have a game website that includes a specific game embedded within an iframe. However, this game is blocked on certain wifi networks. I need to find a solution to make it accessible on those networks.
I have tried using online free proxys, but the game dosnt load as there is some issue with js files. I have also tried looking for alternative URLS for it with no luck. I do not want the entire website to be ran through a proxy, only the iframe. any help would be greatly apriecieated

Related

Proxying content use back end

I have an iOS app where needs a proxying website through private server(HTTP / HTTPS proxy), but its idea each time has some trouble, when I am trying to solve their on the client-side, how I can solve this problem use the back end.
IMPORTANT: need proxying website which has various type of JavaScript.
Appearing idea use anonymizer, I am trying various websites like 2ip and another anonymizer, it's work good BUT when I use anonymizer for a web site like, youtube which have JS I can't saw video content, If the site has PHP it's not a problem looking a video content through a proxy.
Question: How I can solve this problem use back end(Technology doesn`t matter) if I want proxying websites with video content through a proxy, and these sites have JS?
Problem was solved using Algo VPN on server and creating VPN profile on iOS based on IKEv2 protocol.

Is there any prerequisite for a web page to be integrated into an iFrame?

I am currently working on a user interface that can integrate other pages in the form of <iframe>s into the canvas of the page or in a new window, using JavaScript to control that <iframe>.
While trying to integrate several partner applications in said frame, I've realized that some pages work fine, though others do not support being integrated (showing a browser error message saying so) -- I know there are ways to prevent the embedding of your page (the X-Frame-Optionsmeta tag or FrameKiller JavaScript).
What I'd like to know is if there are prerequisites for a page to be embedded into an <iframe>, even without the developers of those partner applications actively preventing the embedding of their pages. I couldn't seem to find any kind of standard compatability matrix in my searches, all I can seem to find are the prevention methods.
Do you have any advice on this?

Flash Video Spokesperson in Wordpress => Tweople

I am developing a Wordpress site for a manufacturing company. The company would like to have a Video Spokesperson on some of the pages. Specifically we are testing it here: http://beautifulimage.net/test-magazine
The scripts that they provide are here: http://tweople.com/client/embed/1401121859b
Unfortunately, the video will only play once (with one iteration of the script) or not at all. For the iteration that will play it, you can refresh the cookies and it will play again.
1) I started by following the documentation that was provided. I expressly followed every direction implicitly without consistent success (it worked occasionally on http) ... I verified that the script/video works on 3 other sites (not secured sites), which further confirms that their product does work, but that there is a conflict. This conflict maybe with scripts that we are using on our site or with cross domain calls, but it is definitely not working the way that it should be.
2) Upon realizing that the script doesn't work on our site. I went through extensive troubleshooting.
Here are major trouble shooting errors I went through:
creating a cross domain xml file (recommended by adobe)
for registering flash videos that can be cross domain using 3rd
partyflash player
trying the video as an html5 video alone (no transparency. the
background was white)
going through the initiation/video player script to see if I need to
hard code links
support withtwepeople email
deactivating all WP plugins that could be causing conflicts and testing all previous debugging measures
I asked mediatemple (hosting company) if there was anything in the hosting account that could be causing the error.
note: The javascript console was calling out cross domain errors when we were occasionally getting it to work on http. When I forced https the video spokesperson stopped working completely.
I currently have multiple scripts inside of the file (lines 406, one commented out). The company has been attempting to support the issue, but have been unable to.
Anything to help is appreciated.

How to screen scrape across origins in an IFRAME?

I have a business web app that needs to pull in information from various other web sites. For most sites, the user just instructs the server to pull the data (either using .NET's HttpRequest, or Selenium).
But for some unfriendly, Javascript-heavy sites, our users have to visit the site manually, navigate to the right spot, and copy and paste into our application.
Other than bookmarklets, is there any way for our page to show an IFRAME with the source web site loaded, allow the user to navigate within the frame, and then capture the IFRAME's body?
Since the site in the IFRAME isn't in the same domain (not even close), I can't seem to work around browser cross-site scripting limitations. I've tried using HTML5's "sandbox" feature, but it appears to only allow communication (via "allow-same-origin") the other way, from the IFRAME to the host site, which isn't useful to me. Also, it doesn't work if the site in question attempts to load its frames to the top context.
What I'm ideally looking for is a solution that would allow the browser to be configured to trust my web site implicitly (it's an intranet app) and allow it to access any frame's contents. That would at least get me in the ballpark. Bonus points if I can get the iframe to redefine the "top" context as its own frame, so the hosted site functions properly within the frame.
The best approach I've found through many many screen scraping projects (scraping JS heavy pages) is to create a user-script or Greasemonkey script, setup a few virtual machines in their own IP space (for protection) and feed them a list of sites to visit from a remote program:
Check the queue at a set interval
Request page with Greasemonkey, etc.
Capture contents and send to remote program for processing
You can't use an iframe method and you are going to bang your head up against a wall trying to go that route, the method I've described has worked for numerous large-scale scraping projects.

Displaying External Webpages within an Enyo App

I'm new to Enyo and am trying to implement display interface for my website within an Enyo app.
Basically all that I want to display is the app's toolbar on the top of the page, and the rest of the page would simply display the contents of my website.
Considering that my website is already optimized for responsive display, how do I implement this without encountering Cross-Origin issues?
I think you'll want to embed your site's contents within an iFrame. You haven't said whether the app buttons will need to interact with your site's contents so you may run into some issues there.
You don't quite have enough detail for a better answer. What cross-origin problems do you predict? Where will you be deploying? Will you be pulling the site live or will you have a cached copy you distribute with the Enyo app?

Categories