ShopDreamUp AI ArtDreamUp
Deviation Actions
Suggested Deviants
Suggested Collections
You Might Like…
Description
FAQ #9001: Vegeta, what does the scouter say about his power level?
Lol, enjoy!
---------------------
How to replace text on a webpage:
1) Highlight the following code and drag it into your bookmarks toolbar (if you don't have a toolbar, then drag it into your bookmarks):
javascript:var%20theNewText%20=%20prompt('What%20will%20you%20replace%20the%20highlighted%20text%20with?');%20function%20replaceSelection(t)%20{%20%20%20if%20(typeof%20t%20===%20'function'%20)%20{%20%20%20%20%20t%20=%20t(window.getSelection().toString());%20%20%20};%20%20%20var%20range%20=%20window.getSelection().getRangeAt(0);%20%20%20range.deleteContents();%20%20%20range.insertNode(document.createTextNode(t));%20};%20replaceSelection(theNewText);
2) Highlight the text you want to replace, then click the bookmark.
3) Type the replacement text and press Enter.
4) Walla! You have now replaced text on a webpage. But don't worry! The effects of this code will go away once you refresh the page.
Lol, enjoy!
---------------------
How to replace text on a webpage:
1) Highlight the following code and drag it into your bookmarks toolbar (if you don't have a toolbar, then drag it into your bookmarks):
javascript:var%20theNewText%20=%20prompt('What%20will%20you%20replace%20the%20highlighted%20text%20with?');%20function%20replaceSelection(t)%20{%20%20%20if%20(typeof%20t%20===%20'function'%20)%20{%20%20%20%20%20t%20=%20t(window.getSelection().toString());%20%20%20};%20%20%20var%20range%20=%20window.getSelection().getRangeAt(0);%20%20%20range.deleteContents();%20%20%20range.insertNode(document.createTextNode(t));%20};%20replaceSelection(theNewText);
2) Highlight the text you want to replace, then click the bookmark.
3) Type the replacement text and press Enter.
4) Walla! You have now replaced text on a webpage. But don't worry! The effects of this code will go away once you refresh the page.
Image size
1349x617px 51.09 KB
© 2011 - 2024 YoshiOG1
Comments0
Join the community to add your comment. Already a deviant? Log In