This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run this in chrome://settings/passwords | |
// Works as of Chrome 83 | |
const page = document.querySelector('settings-ui') | |
.shadowRoot.querySelector('settings-main') | |
.shadowRoot.querySelector('settings-basic-page') | |
.shadowRoot.querySelector('settings-autofill-page') | |
.shadowRoot.querySelector('passwords-section') | |
.shadowRoot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Slideshow extends React.Component { | |
state = { | |
current: 0 | |
} | |
prevImage = () => { | |
const { images } = this.props | |
const { current } = this.state | |
if (current === 0) { |