I am developing web extension version of TaskviewLayout.
Last version 55.3 got unexpected exception code, unfortunately.
I wish you to participate in the development of this extension.
If I introduce some Javascripts and html, these are below.
For more information, Please, get version 55.3~.xpi.
- among background.js are below.
browser.windows.onCreated.addListener(function() {browser.browserAction.getPopup({})});
browser.menus.create({
id: ‘taskview1’,
title: ‘View to put task view up’,
contexts: [‘browser_action’]
});
[…]
- among taskviewlayout1.js is below
browser.menus.onClicked.addListener(function() {
var button = document.createElement(‘button’);
var Button = browser.tabs.executeScript({
code: ‘button’
});
var buttonChild = document.activeElement.appendChild(button);
var ButtonChild = browser.tabs.executeScript({
code: ‘buttonChild’
});
var Taskvie1 = Button.setAttribute(‘id’, ‘taskview2’);
var taskView1 = browser.tabs.executeScript({
code: ‘Taskview1’
});
if(info.menuItemId === taskView1) {
var layoutTBox = document.getElementById(‘calendar-task-box’);
var LayoutTBox = browser.tabs.executeScript({
code: layoutTBox
});
[…]
-
taskviewlayout2.js is omitted
-
taskviewlayout3.js is omitted
-
among of taskviewlayout.html
<body>
<style type=“text/css”>
[…]
</style>
<form action="" method=“get” id=“form1” value=“src:taskviewlayout1.js”>
<button type=“submit” id=“taskview1” form=“form1”>View to put task view up</button>
</form>
[…]
</body>
Thank you for your interests.
From Sungho Hwang.