Search This Blog

Sunday, January 26, 2025

Mario 3d Ghost Luigies on level 3-3 (spotting hidden pixel Luigies) & websites inserting txt in my clipboard (WTF)

 Ghost Luigis

Get all timer clock powerups on the ghost house level, world 3-3. 

Wait by pole near 25 secs left. Look in background for spookiness in the graveyard!



Via https://www.mariowiki.com/List_of_Luigi_sightings_in_Super_Mario_3D_World#World_3

The player must first collect all six + Clocks in the level (those in bold require the Cat Suit):


    One in the first room next to the Boo painting

    Three in the second room just above the bookcase

    One following afterward next to the large mirror

    One Green Clock just left of the final indoor room


Upon reaching the Goal Pole, they must then wait until 12 seconds remain on the timer; at that point, several Pixel Luigis rise from the graves in the background and begin running. These Luigis do not appear in the World Flower version of this course.


The above text is from the Super Mario Wiki and is available under a Creative Commons license. Attribution must be provided through a list of authors or a link back to the original article. Source: https://www.mariowiki.com/List_of_Luigi_sightings_in_Super_Mario_3D_World


--UPDATE: Wow, how are they putting that reference text (right above this line)? If I copy paste a very few lines (3 lines), it won't do it, but if I copy paste maybe 4 or more lines it automatically adds the reference TEXT. Even in notepad it automatically gets that text. How the heck is that happening? Noscript is on. Notepad on win11. Hmmmmm. 

It's not exactly "4 lines" b/c higher up on the page, Spiked XXXXX, it only takes 3 lines. But there are more words, so is it a word count thing? 


--UPDATE 2: this 15 year old question (has 2022 update) sounds identical to what's going on... except I thought noscript would prevent it. Why not? https://stackoverflow.com/questions/2026335/how-to-add-extra-info-to-copied-web-text

Some websites now use a JavaScript service from Tynt that appends text to copied content.

If you copy text from a site using this and then paste you get a link to the original content at the bottom of the text.

Tynt also tracks this as it happens. It's a neat trick well done.

Their script for doing this is impressive - rather than try to manipulate the clipboard (which only older versions of IE lets them do by default and which should always be turned off) they manipulate the actual selection.

So when you select a block of text the extra content is added as a hidden <div> included in your selection. When you paste the extra style is ignored and the extra link appears.

This is actually fairly easy to do with simple blocks of text, but a nightmare when you consider all the selections possible across complex HTML in different browsers.

I'm developing a web application - I don't want anyone to be able to track the content copied and I would like the extra info to contain something contextual, rather than just a link. Tynt's service isn't really appropriate in this case.

Does anyone know of an open source JavaScript library (maybe a jQuery plug in or similar) that provides similar functionality but that doesn't expose internal application data?


MORE INFO, from ~2022: https://alexanderell.is/posts/taking-over-my-clipboard/

Interestingly, this function must run before the copy event is fully bubbled up. This means that it’s intercepting the copy event, modifying the text that’s selected, and passing it on, like a man-in-the-middle attack against your clipboard.

This is bad

This falls into the category of not respecting the user’s actions. Attribution is important, but changing things outside of what the site should be changing is a bad pattern. It’s like smooth scrolling, where the page commandeers the user’s scroll actions. 



And this 2020 bit from stackoverflow's link has the clue I've been looking for I think, see yellow highlight. But WHY is NoScript not blocking it???:

[Older post - before the 2020 update]

There are two main ways to add extra info to copied web text.

    1. Manipulating the selection

The idea is to watch for the copy event, then append a hidden container with our extra info to the dom, and extend the selection to it.

This method is adapted from this article by c.bavota. Check also jitbit's version for more complex case.

    • Browser compatibility: All major browsers, IE > 8.
    • Demo: jsFiddle demo.
    • Javascript code:

No comments:

Post a Comment