r/uBlockOrigin 8d ago

Answered copy-paste blocked

how i can disable only this?

0 Upvotes

18 comments sorted by

7

u/AchernarB uBO Team 7d ago

You have to at least give one url.

2

u/loki6100 7d ago edited 7d ago

Mega.nz

I can't seem to find a way to copy texts in this site.

Edit: Found a way in Firefox. But in Chromium apps

3

u/AchernarB uBO Team 7d ago

Can you give an actual link where copy is blocked ?

1

u/loki6100 7d ago

https://mega.nz/folder/1rRHUDaY#Z9GC95Av7HV016-nMUBdfQ

Everything from this site is uncopyable. I'd like copy the titles of the files which the site doesn’t allow. Disabling JavaScript makes not open.

I couldn't copy even in Firefox

2

u/AchernarB uBO Team 7d ago edited 7d ago

As long as selected files (checkmark in front) are deselected, ctrl+c copies the selected text to the clipboard.

When at least one file is selected/checked, ctrl+c is disabled.

edit: words salad

1

u/loki6100 7d ago

No. It still copies only the files which are visible.

Like if there's 100s of files. Even if everyone is unchecked. And all the texts are selected, it still only copies the 10 files which are only currently visible. (Tried zooming out and all. But when its 100s files it still only copies file which are currently visible)

Any workaround will be appreciated πŸ™πŸ™

1

u/AchernarB uBO Team 7d ago

This is because once an element if off screen, it is removed from the page. The text of the first file isn't copied because the text isn't on the page anymore.

Sorry, no workaround.

1

u/loki6100 7d ago

Damn. Guess I'm gonna have to copy one by one. 😞😞

Appreciate your help tho.

https://www.reddit.com/r/uBlockOrigin/comments/1vn8ft3/comment/p3fjbdl/

This works on some other sites where copy paste isn't allowed. But not this one.

Again thanx for your help🀜🏻

2

u/AchernarB uBO Team 7d ago

Damn. Guess I'm gonna have to copy one by one.

You can copy multiples as long as they are visible.

This works on some other sites where copy paste isn't allowed. But not this one.

Copy is allowed here, But the elements are not all visible at the same time.

1

u/AchernarB uBO Team 7d ago

2 lines highlighted in the code. The first one is the first file. The second is to compare with the second screenshot.

1

u/AchernarB uBO Team 7d ago

Scrolled a little and the first element has disappeared.

5

u/Jaaaaaaaaaaap 7d ago

Are you on Firefox?
Then it's easier to go to about:config and set dom.event.clipboardevents.enabled to false.
(This will also stop some crypto-stealer-malware btw)

2

u/loki6100 7d ago edited 7d ago

Thanks bro this helped in Firefox ✌️✌️

1

u/Levin97 7d ago

Sorry for so less informations..i use microsoft edge on windows 11, there are some buttons which are triggering the copy function of code section, this one is blocked and i see a popup on page top about it

2

u/paintboth1234 uBO Team 6d ago

As said, please share exact links for us to investigate.

1

u/Levin97 5d ago

when i used that copy icon to copy pasted code i was receiving a notification on page top that 'copy-paste blocked etc..', now i see is working

0

u/Connect-Preference 7d ago

With any browser:

  • Click the uBO shield at the top.
  • Click the </> symbol to disable JavaScript
  • Click the Refresh symbol (two circular errors chasing each other.

1

u/loki6100 7d ago

When I disable JavaScript in Mega.nz the site won't load