Greasy Fork is available in English.

Absolute Enable Right Click & Copy

Force Enable Right Click & Copy & Highlight

< Feedback on Absolute Enable Right Click & Copy

Question/comment

§
Posted: 10-02-2018

two website do not work

use ( Ctrl + ` ) still not break those website.
https://life.tw/?app=view&no=719944
https://www.uta-net.com/song/217997/

AbsoluteAuthor
§
Posted: 10-02-2018

Um, it seems you need to write your own script for these sites.

For www.uta-net.com it use a hidden image above the song lyrics and you need to remove it.

You can use something like this.

// ==UserScript==
// @name         Remove Hidden Image
// @namespace    Remove The Hidden Image Above the song lyrics
// @version      0.1
// @match        https://www.uta-net.com/song/*
// ==/UserScript==

// www.uta-net.com
var hidden_image = document.querySelectorAll('img[src*="1pix.gif"]');
Array.prototype.forEach.call(hidden_image, function(image) {
    image.style.display = 'none';
});

I'm not sure about the other website.

§
Posted: 12-02-2018

Thanks,Absolute.
According to your guidance,for www.uta-net.com it can use ublock rules to block this image.
For the other website, similarly to block this js:media.life.tw/media/js/view/divToIframe2.js

§
Posted: 12-02-2018

bujiamma

Post reply

Sign in to post a reply.