dongnunai3125 2012-02-10 20:46
浏览 18
已采纳

如果用户点击谷歌图片中的图片(来自搜索),我可以强制重定向到该页面吗?

If a user clicks on an image in google images(from a search) can I force a redirect to the page? So, instead of having to click outside the searched image, the searcher / user would automatically land on the page. Is this possible?

  • 写回答

2条回答 默认 最新

  • duanlie2709 2012-02-10 21:28
    关注

    It can be done, Wordpress has a plugin for just this sort of purpose. Have you tried anything like this in your <head> tag?:

    <script type=”text/javascript”>
    <!–
    if (parent.frames.length > 0) { parent.location.href = location.href; }
    –>
    </script>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度