mirror of
https://github.com/insin/control-panel-for-twitter.git
synced 2025-06-18 22:55:32 -04:00
11 lines
367 B
JavaScript
11 lines
367 B
JavaScript
// Creates browser_action.html, which is just options.html with styling to
|
|
// control the popup width appropriately for each browser.
|
|
const fs = require('fs')
|
|
|
|
let options = fs.readFileSync('./options.html', {encoding: 'utf8'})
|
|
|
|
fs.writeFileSync(
|
|
'./browser_action.html',
|
|
options.replace('<body>', '<body class="browserAction">'),
|
|
{encoding: 'utf8'}
|
|
) |