Discussions » Creation Requests

Hi10 Anime | Script links (only (left) clickable) to "normal" links

§
Posted: 2018-12-29

Hi10 Anime | Script links (only (left) clickable) to "normal" links

Hi Folks, On https://hi10anime.com/ they changed the site a few days ago, so the download links are no longer "normal". That makes it impossible to open links in new tabs or copy them Can somebody write a script to change the links, so you can open them in new tabs, please?

Links are visible only for registered Users, so I created an test Account: Name: User123 Password: 123User123

Some example pages: https://hi10anime.com/archives/79596 https://hi10anime.com/archives/81707 https://hi10anime.com/archives/46746

Thanks in advance!

§
Posted: 2018-12-31
// ==UserScript==
// @name         Expose Hi10 Anime Download Link
// @namespace    indefined
// @version      0.1
// @description  Expose Hi10 Anime's download link to normal so that it can be copy or open in new tab
// @author       indefined
// @include      https://hi10anime.com/archives/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    [].forEach.call(document.querySelectorAll('a[data-href]'),item=>{
        const newItem = document.createElement('a');
        newItem.href = item.dataset.href;
        newItem.innerHTML = item.innerHTML;
        item.replaceWith(newItem);
    });
})();
§
Posted: 2019-01-01

Thanks for this! While it do work, I can not get the files behind the links. I get following error:

Server Error X01 Hot-Linking

You cannot acess this unless visiting it from our website. Access from other sites is disabled.

And happy new year!

§
Posted: 2019-02-11

It seems there needs to be a token created as explained here. Don't know if it's even possible to integrate it to the expose link script, but would be nice if somebody would take a look into it. Thanks again!

Post reply

Sign in to post a reply.