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 the OpenLoad servers.

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

It will do the following things:

  1. Change your server to the OpenLoad server if it is not there already.
  2. Redirect the KissAnime page to the corresponding OpenLoad video page.
  3. Rip the direct link from the OpenLoad page and display 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.