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.
Related
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
This question may be not related to exact software stack, framework or language.
For my current project, we are using AngularJS to build the front-end that has a constant entrance page to load real data and render, which is easy for CDN and good for fast loading speed from browser side. But for some social feature, such architect may result in some problem. For example, when you paste your interested link to Facebook portal to share, Facebook will grab your page and show up a preview. If a landing page is empty, such preview won't work.
(I heard that Google+ recently support rendering javascript logic at server side before send back a preview, but obviously it's not a common support for other similar services. Google.com also supports indexing js based one-page application.)
Is there a better solution to solve this problem gracefully rather than fallback to have dynamic page which includes real data? Have I missed something in understanding this problem?
========
... I was even thinking of that, for requests that identified as FB request (like user agent), redirect it to a special gateway that wrapping sth like PhantomJS, fetch the page, render it server-side, and send back a DOM tree snapshot as content for FB to generate preview. But I also doubt that it's a good direction. : (
We are in the same situation. The simple solution is to use Open Graph meta tags in the pages your server will serve to Facebook scrapers.
Basically you need to do server-side what your web app is doing client-side. Amount of work highly depends on your hosting technology (MVC makes it super easy), your URI format and the APIs you use.
You will find some explanations here:
https://developers.facebook.com/docs/plugins/share-button/
Open graph introduction:
http://ogp.me/
I am developing a web application for PC/Tablet/Mobile phones, and I want to integrate Google+ Sharing onto it.
But seems that the url https://plus.google.com/share?url=http%3a%2f%2fstackoverflow.com has blocking iframes...
prove that it doesn't work: http://jsfiddle.net/6ML4d/
isn't there any other way to do that?
P.S The server side of my application is ASP.NET MVC and the client side is jQuery Mobile.
You can take a look at this chrome extension:
https://chrome.google.com/webstore/detail/pfphgaimeghgekhncbkfblhdhfaiaipf
It allows you to view your google+ notifications. The developer made it in some way possible to embed something on https://plus.google.com that normally isn't possible.
Refused to display document because display forbidden by X-Frame-Options.
See here for supposed solution
I have found that there are some pages on google servers which allow iframes, but they are not complete . (for example, if user is not logged in, again we have another problem)
So, the best choice is not using iframes!
Some background: I have inherited a working Silverlight application which behaves as follows:
there is an iframe on the host html page which itself connects to another page.
this page is a long-lived request which returns a series of <script>parent.callFunction(data)</script> blocks
these scripts are executed, call up to their parent, which in turn calls the silverlight app itself using the html bridge.
In this way we have a working streaming data service via the browser into the app, but I can't make this work out-of-browser.
By using a WebBrowser control and window.external.notify I'm able to recreate most of the functionality described, but the script blocks in the long lived request are not acknowledged or executed by the WebBrowser control.
Is there any way I can force the WebBrowser control to execute these script blocks?
Or, is there another way of achieving the goal? I've been chasing this problem on and off with fiddler for over a week before understanding what the problem was, and now can't find any information. Microsoft's idea seems to be to create my own version of IE using WinForms - but this seems like a poor substitute.
Although I haven't tried your exact scenario, my guess is that you are hitting a cross domain policy violation when running OOB.
If you haven't yet, try the OOB elevated trust application route and see if that can solve it.
We are using a custom protocol handler to connect to an embedded device across firewalls, NAT etc. The solution is called Nabto.
This works great - a plug-in on the user's computer handles requests to all nabto:// URIs and serves HTML pages with information about the current connections etc.
Now, we would like to access Nabto functionality from a regular web page. This is difficult with browsers enforcing the Same-Origin policy (e.g. our http page cannot communicate with the nabto page).
So far, I am trying to solve this using easyXDM by having a "proxy page" served by the nabto plug-in. This page is then allowed to launch nabto:// requests and can communicate the results back to the http page using easyXDM.
However, same-origin requests fail in Internet Explorer - even when both pages reside in the nabto://self domain. I get this error: image
Is this an error in Internet Explorer? Any idea how to solve it?
Thanks a lot,
Martin
We had huge issues that sound similar to yours when developing the plugin. I must admit that we gave up getting clean Ajax support working through Nabto after spending a lot of time on it. In fact, the final thing that happened was opening a support case with Microsoft about it, the case bounced around and we never heard anything back.
There might be a chance though for a hack: In the meantime we realized that IE allows you to populate images through nabto:// urls on an http / https page. Maybe you can populate an image object through your query and extract the result from there?
On a side note: You are welcome to post in the support forums (forum.nabto.com) about such things. On the other hand, you help spread the word about the product in this way ;-)
Ulrik