vikmin Posted October 21, 2020 Share Posted October 21, 2020 @IXOYE https://www.upload.ee/files/12416769/good_old_youtube-1.15.2-fx.xpi.html 1 Link to comment Share on other sites More sharing options...
VistaLover Posted October 21, 2020 Share Posted October 21, 2020 (edited) On 10/21/2020 at 4:45 PM, IXOYE said: I had the bad idea to take the latest version 1.15.2 of "Good Old Youtube" with the VistaLover modification. The add on has been changed to no longer work with Serpent 52 Latest version of G-O-YT, 1.15.2, installs and functions perfectly fine in St52 as long as the correct modification to its manifest.json file has been performed, which is probably where you messed-up... @vikmin : Since Serpent 52 does not observe extension-signing, you can also do away fully with the META-INF directory... Those not confident modifying source code files, may switch to Old Youtube, which was updated to v2.1.1 (I prefer myself the G-O-YT one because it's more failproof than O-YT ). NB: Serpent 52 does NOT currently search AMO for WE updates, so you must yourself do so (e.g. bookmarking both extensions' "versions" pages on AMO and visiting periodically...). Do keep in mind both extensions are just "hacks", they may break at any time, when Google completely obliterate the classic GUI's files from YT servers... Edited October 22, 2020 by VistaLover 2 Link to comment Share on other sites More sharing options...
RainyShadow Posted October 21, 2020 Share Posted October 21, 2020 (edited) How does one write a simple extension for NM27? It has to modify requests to YT by adding pbj=1 to the address and the following two headers: X-YouTube-Client-Name: 1 X-YouTube-Client-Version: 1.20200731.02.01 I tried looking in existing extensions to modify one, but just couldn't wrap my head around all that JS... Doing these manually i was able to load the classic layout. [edit] These numbers are from the Good old youtube extension, Old youtube has the number 1.20200806.01.01 instead Edited October 21, 2020 by RainyShadow 1 Link to comment Share on other sites More sharing options...
DanR20 Posted October 21, 2020 Share Posted October 21, 2020 9 hours ago, IXOYE said: Hi I had the bad idea to take the latest version 1.15.2 of "Good Old Youtube" with the VistaLover modification. The add on has been changed to no longer work with Serpent 52. Try this for manifest.json if you're still having trouble, it works for me: Quote { "name": "Good Old YouTube", "manifest_version": 2, "version": "1.15.2", "description": "Switch back to classic YouTube interface!", "default_locale": "en", "icons": { "96": "images/logo.svg" }, "background": { "scripts": [ "shared.js", "options/default-options.js", "logger.js", "reconstruct.js", "background.js" ] }, "content_scripts": [ { "matches": [ "https://www.youtube.com/*" ], "css": [ "styles/hide-alert.css" ], "js": [ "shared.js", "content-script.js" ], "run_at": "document_start" } ], "options_ui": { "page": "options/options.html" }, "permissions": [ "https://www.youtube.com/*", "storage", "webRequest", "webRequestBlocking" ], "applications": { "gecko": { "id": "{482060de-6804-4020-a1b9-16dc012a3c93}" } } } 2 Link to comment Share on other sites More sharing options...
soggi Posted October 22, 2020 Share Posted October 22, 2020 (edited) 15 hours ago, ArcticFoxie said: I did point out that as far as browser preference goes, that the reality is that nobody can answer that question but you (the person that was asking which browser to use). It wasn't me who asked, it was @x_orange90_x. I myself am pleased with NM27 (except the missing Wayback Machine time line bar, the missing language pack is bearable). 15 hours ago, ArcticFoxie said: I only use EIGHT add-ons so I don't doubt that my needs are for sure less "broad" than others. Actually I also have eight addons installed, but only need six of them (Adblock Latitude, Cache Status, Html Validator, NoScript, Vacuum Places Improved, Versions (wfx_versions)) - the other two (DownThemAll!, User Agent Switcher) aren't very important. Maybe I should add some cookie manager and maybe I should add some add-ons to my page, as the archive for old add-ons vanished sometime ago. @VistaLover: Thanks for the info - it was also my thought, that this is caused by modern JS and stuff. Hopefully there is a way...else I have to change to NM28. BTW: roytam1's server seems to be down again!? kind regards soggi Edited October 22, 2020 by soggi Link to comment Share on other sites More sharing options...
roytam1 Posted October 22, 2020 Author Share Posted October 22, 2020 Notice: right now the domain has been taken by freenom again, for now I have no domain for cloudflare's proxification. tried registering new freenom account but I can't register new domain with new account. maybe I have to take out credit card and buy domain from others(i.e. no more free) Link to comment Share on other sites More sharing options...
soggi Posted October 22, 2020 Share Posted October 22, 2020 (edited) @roytam1: If you need help (uploading possibility) in the meanwhile, let me know...I could create an account for that. This is what I can do to say "Thanks for your browser builds!". So you would have the time to do the search for an appropriate provider. kind regards soggi Edited October 22, 2020 by soggi 1 Link to comment Share on other sites More sharing options...
VistaLover Posted October 22, 2020 Share Posted October 22, 2020 (edited) 19 minutes ago, roytam1 said: right now the domain has been taken by freenom again, for now I have no domain for cloudflare's proxification So sorry to hear about this but, to be honest, was kind of expecting it to happen, if one takes into perspective their previous record: o.rthost.cf was taken down on ca. Oct 21st 2018; o.rths.cf was taken down on ca. Oct 8th 2019; and (not surprisingly) o.rths.ml has been taken down on Oct 22nd 2020... ... As you can tell, they are being consistent, allowing you a free domain for the duration of (approximately) a whole calendar year (and, as I recall, a maximum of 3 [free] domains can be granted to a free "freenom" account holder) ... Edited October 22, 2020 by VistaLover 1 Link to comment Share on other sites More sharing options...
S75 Posted October 22, 2020 Share Posted October 22, 2020 @DanR20 @VistaLover sorry for my noob question, but how i can install that ''Good Old Youtube'' extension in NM27 or it not support it any way? Link to comment Share on other sites More sharing options...
NotHereToPlayGames Posted October 22, 2020 Share Posted October 22, 2020 17 hours ago, RainyShadow said: ...modify requests to YT by adding pbj=1 to the address and the following two headers: X-YouTube-Client-Name: 1 X-YouTube-Client-Version: 1.20200731.02.01 This can be done relatively easy using an older program called "Proxomitron". Huge fan! Couple it with GreenBrowser and that was my default-for-everything combination for a good 4-5 years or so. The creator passed away a few years back but there is a recent project being updated every once in a while. Though might be easier to see if a NM27 addon can be created. Link to comment Share on other sites More sharing options...
IXOYE Posted October 22, 2020 Share Posted October 22, 2020 HI 19 hours ago, VistaLover said: Latest version of G-O-YT, 1.15.2, installs and functions perfectly fine in St52 as long as the correct modification to its manifest.json file has been performed, which is probably where you messed-up... 11 hours ago, DanR20 said: Try this for manifest.json if you're still having trouble, it works for me: I have tried being scrupulously careful with the "Vistalover" and "DanR20" script by opening the archive with 7z and replacing the "manifest.json" file and it does not work on my system. Serpent 52 informs me that the "xpi" file is corrupted. 20 hours ago, vikmin said: @IXOYE https://www.upload.ee/files/12416769/good_old_youtube-1.15.2-fx.xpi.html Strangely, I did the same action using the "manifest.json" file from the "Vikmin" xpi and it worked. I think the act of copying the script from the website and pasting it into the Windows Notepad opened "manifest.json" file must be causing problems on my system. Thank you all for your help... I will use for future updates of "Good Old Youtube" the "manifest.json" file from Vikmin Link to comment Share on other sites More sharing options...
VistaLover Posted October 22, 2020 Share Posted October 22, 2020 5 hours ago, S75 said: how i can install that ''Good Old Youtube'' extension in NM27 or it not support it any way? The Firefox add-on is of a type called Web Extension (Mozilla's attempt to ape Chromium extension format; search for more info...); Pale Moon, of which New Moon 27/28 is an unofficial fork, has never supported Web Extensions (by choice of its developers), thus 'Good Old Youtube' can't be installed in New Moon... Try Serpent 52.9.0 (the ia32 build should run on non-SSE2 CPUs, if you fall into that category) ... Sadly, at this very moment, Roytam1's binary repository is DOWN, so you may have to kindly ask for that among members here... 1 Link to comment Share on other sites More sharing options...
nicolaasjan Posted October 22, 2020 Share Posted October 22, 2020 2 hours ago, IXOYE said: I think the act of copying the script from the website and pasting it into the Windows Notepad opened "manifest.json" file must be causing problems on my system. You might try Notepad++... 2 Link to comment Share on other sites More sharing options...
VistaLover Posted October 22, 2020 Share Posted October 22, 2020 (edited) 3 hours ago, IXOYE said: I think the act of copying the script from the website and pasting it into the Windows Notepad opened "manifest.json" file must be causing problems on my system. Window's Notepad is unsuitable for editing code ; as @nicolaasjan suggested, use for such tasks a dedicated code/text editor, with coloured syntax themes; proper code editors will automatically identify syntax errors (e.g. missing brackets, commas, etc.) and alert you about them (e.g. by highlighting the error block in a different colour or poping up a notification, etc...) [Another thing to consider when using Notepad is the encoding format when saving a modified file; usually Notepad saves a file as ANSI, but several code files need to be saved as Unicode/UTF-8 instead...] Edited October 22, 2020 by VistaLover 1 Link to comment Share on other sites More sharing options...
DanR20 Posted October 22, 2020 Share Posted October 22, 2020 The way I do it is to export manifest.json with 7-zip, open it with Microsoft Word then copy the updated code in and import it back into the .xpi addon. 1 Link to comment Share on other sites More sharing options...
Recommended Posts