php-proxy icon indicating copy to clipboard operation
php-proxy copied to clipboard

Proxify URL in data-popupurl tag

Open ben45c opened this issue 7 years ago • 1 comments

Hi, I'm using the proxy and it's working well apart from the fact that it seems to be ignoring the urls inside the data-popupurl tag. Does anyone know how I can enable proxification for these URLs? An example tag is: <li id="menu-user" data-popupurl="/ozbapi/popup/user?uid=******" data-popupwidth="200" class=""><a href="https://PROXY_URL/index.php?q=mqyoqKadY2TZ2Kljod-Xx6fMkZnTlMamo5DFpmOq1cukZ2Vua5tlbg">My Account</a><div class="menupopup" style="top: 45px; left: 511.766px; width: 200px; display: none;"><div class="loading"><i class="fa fa-spinner fa-spin"></i> Loading...</div></div></li> Cheers, ben.

ben45c avatar Apr 28 '18 09:04 ben45c

You'd have to make your own custom plugin that does that. Something similar is being done for data-thumb tags on youtube:
https://github.com/Athlon1600/php-proxy-plugin-bundle/blob/master/src/YoutubePlugin.php#L33

Athlon1600 avatar Jun 02 '18 18:06 Athlon1600