Skip to content

Instantly share code, notes, and snippets.

@pmarquees
Last active October 7, 2024 23:59
Show Gist options
  • Select an option

  • Save pmarquees/d85230563f66a0c2e4476698864e24aa to your computer and use it in GitHub Desktop.

Select an option

Save pmarquees/d85230563f66a0c2e4476698864e24aa to your computer and use it in GitHub Desktop.
Edit page (bookmarklet)

Edit this web page

This makes all the text in the current webpage editable until you refresh it! It does that by enabling the designMode flag on your browser.

How to use

  1. Add a new bookmark.
  2. Copy editPage.js and paste it into the URL field of the bookmark.
  3. Save.
  4. Click the bookmark when you are in the page you wish to edit and voilá!
  5. Click on a text element and edit its text
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
javascript: document.body.contentEditable = 'true';
document.designMode = 'on';
void 0
@PanyBavl
Copy link
Copy Markdown

PanyBavl commented Jan 8, 2021

<ur mom> </ur mom>

@pmarquees
Copy link
Copy Markdown
Author

Uh.. what? haha

@crispyi2
Copy link
Copy Markdown

lol

@upintheairsheep
Copy link
Copy Markdown

javascript:document.body.contentEditable = 'false'; document.designMode='off'; void 0

Reverses it

@Iisnever
Copy link
Copy Markdown

does not

@juli798
Copy link
Copy Markdown

juli798 commented Jan 5, 2022

i cant add bookmark for Bestapk4u

@W855up
Copy link
Copy Markdown

W855up commented Nov 1, 2022

hyeah

@So10-k
Copy link
Copy Markdown

So10-k commented Apr 5, 2023

hi

@Gitarobo
Copy link
Copy Markdown

Good stuff

@Aaronbroguy
Copy link
Copy Markdown

it no work on my chromebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment