Home>

### display text in javascript

The Javascript that was available no longer works.
I just want the text to appear in the upper right corner of the search engine results page.

From Chrome's bookmark bar, add the corresponding source to "Add page" → "URL".
Clicking on a bookmark after searching displayed text in the upper right corner of the page.

Error message
Error message
Applicable source code

javascript: document.body.contentEditable = 'true';
document.designMode = 'on';
document.getElementById ('rhs_block'). textContent = 'Tetsu';
void 0

Please describe what you tried for the problem here.

Supplemental information (FW/tool version etc.)

Please provide more detailed information here.

There is nodiv # rhs_blockelement.
I think it has changed todiv # rhs.
I think it works as before by modifying the bookmarklet (javascriptregistered in the URL field of the bookmark) with reference to this.