summaryrefslogtreecommitdiff
path: root/viewtube.js
AgeCommit message (Collapse)Author
2017-08-04Remove video menu from panel.Arun Isaac
* viewtube.js (createMyPlayer): Remove function. (playMyVideo): Do not delete previously existing video elements, because there are none. * viewtube.css (video): Remove video menu styles. Fit video in player window.
2017-08-01Add stylesheet using `createElement'.Arun Isaac
* viewtube.js: Create a link element for stylesheet using `createElement'.
2017-08-01Remove browser storage of settings.Arun Isaac
* viewtube.js (createMyPlayer): Remove browser storage of settings. (setMyOptions): Remove function. (createElement, createVideoElement): Change function signature. * manifest.json (permissions): Remove "storage".
2017-08-01Simplify `getMyContent'.Arun Isaac
* viewtube.js (getMyContent): Remove getting XML. Simplify logic. Remove unnecessary global variables.
2017-08-01Simplify code.Arun Isaac
* viewtube.js: Remove unnecessary parantheses for single statements. Combine statements with OR operator. Use partial application of functions.
2017-07-07Remove `createMyElement', `modifyMyElement' and `styleMyElement'.Arun Isaac
* manifest.json (web_accessible_resources): Add "viewtube.css". * viewtube.css: New file. * viewtube.js (createMyElement, modifyMyElement, styleMyElement): Remove functions. (createElement, createVideoElement): New functions. Inject "viewtube.css" stylesheet.
2017-07-06Replace `showMyMessage' with `console.log'.Arun Isaac
* viewtube.js (showMyMessage): Remove function. Replace invocations of `showMyMessage' with `console.log'.
2017-07-06Remove explicit player size detection.Arun Isaac
* viewtube.js (createMyPlayer, playMyVideo): Remove player size (width, height, margin) settings. (ytSizes): Remove function. Remove invocations of `ytSizes'.
2017-07-06Remove "DASH" button.Arun Isaac
* viewtube.js (option): Remove "dash". (createMyElement): Remove handling of "dash" action. (createMyPlayer): Remove panel "DASH" button.
2017-07-06Remove "widesize" and "fullsize" features.Arun Isaac
* viewtube.js (option): Remove "widesize" and "fullsize". (createMyElement): Remove handling of "widesize" and "fullsize" actions. (createMyPlayer): Remove panel "widesize" and "fullsize" buttons. (resizeMyPlayer): Remove function. Remove invocations of `resizeMyPlayer'.
2017-07-06Do not extract video title.Arun Isaac
* viewtube.js: Do not extract video title (ytVideoTitle).
2017-07-05Remove console logging in `playDASHwithHTML5'.Arun Isaac
* viewtube.js (playDASHwithHTML5): Remove console logging.
2017-07-05Use video element for thumbnail and playing/autoplaying functions.Arun Isaac
* viewtube.js (option): Remove "autoplay". (createMyElement): Remove handling of "play" and "autoplay" actions. (createMyPlayer): Remove panel "Autoplay" button. Do not create separate img element for thumbnail.
2017-07-05Remove `getMyElement'.Arun Isaac
* viewtube.js (getMyElement): Remove function. Replace invocations of `getMyElement' with `document.querySelector'.
2017-07-05Remove `blockVideos'.Arun Isaac
* viewtube.js (blockVideos): Remove function. This function, part of ViewTube, is not relevant to YouTube.
2017-07-05Remove "Get video link" feature.Arun Isaac
* viewtube.js (createMyPlayer): Remove panel "Get" button. (createMyElement): Remove handling of "get" action. (getMyVideo): Remove function. (option): Remove "autoget". Users can get the video link from the HTML5 video element.
2017-07-05Integrate ViewTube.Arun Isaac
* viewtube.js: New file. * manifest.json (content_scripts): Add viewtube.js. (permissions): Add storage.