aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-06Bump to version 0.5.HEADv0.5masterArun Isaac
* manifest.json: Bump to version 0.5. * youtube-noscript-shim.user.js: Bump to version 0.5.
2017-08-06Remove support for decrypting signatures.Arun Isaac
Decrypting signatures is done by extracting a part of the proprietary YouTube javascript and executing it. This is unsafe, and is problematic for software freedom. * viewtube.js (ytDecryptFunction): Remove function. (ytVideos): Remove invocation of `ytDecryptFunction'.
2017-08-06Do not assign to innerHTML.Arun Isaac
* viewtube.js (createElement): Do not assign to innerHTML. Mozilla considers this unsafe.
2017-08-06Bump to version 0.4.v0.4Arun Isaac
* manifest.json: Bump to version 0.4. * youtube-noscript-shim.user.js: Bump to version 0.4.
2017-08-06Do not remove elements.Arun Isaac
Removing #placeholder-player and #watch7-sidebar-ads disrupts the layout of other elements. * viewtube.js (removeElements): Remove function. Do not remove #placeholder-player and #watch7-sidebar-ads.
2017-08-06Simplify code.Arun Isaac
* viewtube.js: Use assignment expressions in IF conditions, instead of putting them as separate statements. OR match result with [] to always get an array as the returned value. (cleanMyContent): Combine replace expressions into one. (ytVideos): Remove boolean flag `ytVideoFound'. Replace detection of DASH video with FOR loops.
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-05Bump to version 0.3.v0.3Arun Isaac
* manifest.json: Bump to version 0.3. * youtube-noscript-shim.user.js: Bump to version 0.3.
2017-07-05Integrate ViewTube.Arun Isaac
* viewtube.js: New file. * manifest.json (content_scripts): Add viewtube.js. (permissions): Add storage.
2017-07-05Run on www.youtube.com as well.Arun Isaac
* manifest.json (content_scripts): Match www.youtube.com in addition to youtube.com.
2017-07-05Remove dependence on NoScript.Arun Isaac
* youtube-noscript-shim.user.js: Remove YouTube's javascript without depending on NoScript to do it.
2017-07-05Convert to WebExtension.Arun Isaac
* manifest.json: New file. * Makefile: New file. * .gitignore: Ignore .zip files.
2017-06-27Bump version.v0.2Arun Isaac
* youtube-noscript-shim.user.js: Bump to version 0.2.
2017-06-27Update README.Arun Isaac
* README.org: Remove italics on project name. (Installation): Organize section better. (Features): Make list more consistent.
2017-06-27Refactor adding event listeners to separate function.Arun Isaac
* youtube-noscript-shim.user.js (attachEventListener): New function. Use attachEventListener, slightly simplifying the script.
2017-06-27Iterate over NodeList.Arun Isaac
* youtube-noscript-shim.user.js: Iterate over NodeList without first converting it to an Array.
2017-06-27Refactor toggleClasses and toggleBooleanAttributes.Arun Isaac
* youtube-noscript-shim.user.js (toggleClasses): Make classes argument variadic. Support multiple elements. Document it. (toggleBooleanAttributes): Make attributes argument variadic. Support multiple elements. Document it. Fix toggleClasses and toggleBooleanAttributes function calls.
2017-06-26Update README.Arun Isaac
* README.org: List implemented features.
2017-06-26Update README.v0.1Arun Isaac
* README.org: Replace consecutive usage of "in addition" with "also".
2017-06-26Add README.Arun Isaac
* README.org: New file.
2017-06-26Release under GPLv3.Arun Isaac
* COPYING: Text of GPLv3 license. * youtube-noscript-shim.user.js: Add license header.
2017-06-23Initial commit.Arun Isaac