Greasy Fork

KissLink

Gets direct video links from Kissanime.ru.

目前为 2017-07-09 提交的版本。查看 最新版本

作者
Pyroglyph
评分
0 0 0
版本
1.0
创建于
2017-07-09
更新于
2017-07-09
大小
2.2 KB
许可证
暂无
适用于

This script will automatically rip the direct link to any anime episode on KissAnime.ru through OpenLoad's servers.


For those who care, here's how it works:

  1.  It changes your KissAnime server to the OpenLoad server if it is not already.
  2.  It then redirects you to the corresponding OpenLoad video page.
  3.  Finally, it rips the direct link from the OpenLoad page and displays it to you in an alert box.

I originally wanted the user to stay on the same page but cross-site scripting is not allowed. I came up with a simple workaround for this by @matching to both KissAnime and OpenLoad and then checking if the URL contained their respective domains. This means separate code can run on each site.