Age | Commit message (Collapse) | Author |
|
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'.
|
|
* viewtube.js (createElement): Do not assign to innerHTML. Mozilla
considers this unsafe.
|
|
* manifest.json: Bump to version 0.4.
* youtube-noscript-shim.user.js: Bump to version 0.4.
|
|
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.
|
|
* 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.
|
|
* 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.
|
|
* viewtube.js: Create a link element for stylesheet using
`createElement'.
|
|
* viewtube.js (createMyPlayer): Remove browser storage of settings.
(setMyOptions): Remove function.
(createElement, createVideoElement): Change function signature.
* manifest.json (permissions): Remove "storage".
|
|
* viewtube.js (getMyContent): Remove getting XML. Simplify logic.
Remove unnecessary global variables.
|
|
* viewtube.js: Remove unnecessary parantheses for single
statements. Combine statements with OR operator. Use partial
application of functions.
|
|
* 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.
|
|
* viewtube.js (showMyMessage): Remove function.
Replace invocations of `showMyMessage' with `console.log'.
|
|
* viewtube.js (createMyPlayer, playMyVideo): Remove player
size (width, height, margin) settings.
(ytSizes): Remove function.
Remove invocations of `ytSizes'.
|
|
* viewtube.js (option): Remove "dash".
(createMyElement): Remove handling of "dash" action.
(createMyPlayer): Remove panel "DASH" button.
|
|
* 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'.
|
|
* viewtube.js: Do not extract video title (ytVideoTitle).
|
|
* viewtube.js (playDASHwithHTML5): Remove console logging.
|
|
* 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.
|
|
* viewtube.js (getMyElement): Remove function.
Replace invocations of `getMyElement' with `document.querySelector'.
|
|
* viewtube.js (blockVideos): Remove function.
This function, part of ViewTube, is not relevant to YouTube.
|
|
* 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.
|
|
* manifest.json: Bump to version 0.3.
* youtube-noscript-shim.user.js: Bump to version 0.3.
|
|
* viewtube.js: New file.
* manifest.json (content_scripts): Add viewtube.js.
(permissions): Add storage.
|
|
* manifest.json (content_scripts): Match www.youtube.com in addition
to youtube.com.
|
|
* youtube-noscript-shim.user.js: Remove YouTube's javascript without
depending on NoScript to do it.
|
|
* manifest.json: New file.
* Makefile: New file.
* .gitignore: Ignore .zip files.
|
|
* youtube-noscript-shim.user.js: Bump to version 0.2.
|
|
* README.org: Remove italics on project name.
(Installation): Organize section better.
(Features): Make list more consistent.
|
|
* youtube-noscript-shim.user.js (attachEventListener): New function.
Use attachEventListener, slightly simplifying the script.
|
|
* youtube-noscript-shim.user.js: Iterate over NodeList without first
converting it to an Array.
|
|
* 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.
|
|
* README.org: List implemented features.
|
|
* README.org: Replace consecutive usage of "in addition" with "also".
|
|
* README.org: New file.
|
|
* COPYING: Text of GPLv3 license.
* youtube-noscript-shim.user.js: Add license header.
|
|
|