Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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!

Comments

  • // ==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);
        });
    })();
    
  • 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!

  • 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!

Sign In or Register to comment.