Hide Tags Working [Better Scioly.org Extension]!

Shoot the breeze with other Olympians.
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

I made a chrome extension as a bandaid for the problems the forum upgrade had, as well as adding some stuff!

Chrome Web Store Link: https://chrome.google.com/webstore/deta ... jiei?hl=en

The extension as of now:

*As of today (9/22/19), Google has unpublished 1.1.4 due to "false advertising". Version 1.0.2 is still available, but use the bookmarklet if you need an image proxy*

9/21/19: (1.1.4)
+ Added bookmarklet code (instructions)
+ Added image proxy if imgur is blocked

9/20/19: (1.0.2)
+ Adds Infinite Scrolling
* Fixes Quotes
+ Adds click to warp (if you click on a quote, it will scroll you up to the quote)
* Fixes hide boxes.


If you cannot install chrome extensions on your computer, I'm working on making it a bookmark you can use tomorrow.

:D
Last edited by samy-oak-tree on September 22nd, 2019, 8:27 am, edited 2 times in total.
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
User avatar
MadCow2357
Exalted Member
Exalted Member
Posts: 774
Joined: November 19th, 2017, 9:09 am
Division: C
State: RI
Has thanked: 211 times
Been thanked: 56 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by MadCow2357 »

Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
MadCow2357's Userpage
Gallagher MS '19
Barrington HS '23
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

MadCow2357 wrote: September 21st, 2019, 8:19 am Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
Just finished making it into a bookmarklet!
Here's the instructions: https://nepaltechguy2.github.io/scioly- ... ookmarklet

It's not as convenient as the extension, but it works. You do need to click on it per page you want it to activate on, but at least you can use it! I also added a proxy for images into that too (in case your school blocks imgur or something else).
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
User avatar
MadCow2357
Exalted Member
Exalted Member
Posts: 774
Joined: November 19th, 2017, 9:09 am
Division: C
State: RI
Has thanked: 211 times
Been thanked: 56 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by MadCow2357 »

samy-oak-tree wrote: September 21st, 2019, 10:15 am
MadCow2357 wrote: September 21st, 2019, 8:19 am Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
Just finished making it into a bookmarklet!
Here's the instructions: https://nepaltechguy2.github.io/scioly- ... ookmarklet

It's not as convenient as the extension, but it works. You do need to click on it per page you want it to activate on, but at least you can use it! I also added a proxy for images into that too (in case your school blocks imgur or something else).
Working pretty well so far but the image proxy doesn't work for me (imgur doesn't show up).

Also, the infinite scroll seemed to load all the posts on a topic once and on another instance, it seemed to only load one page of posts at a time. Thoughts on why perhaps?
MadCow2357's Userpage
Gallagher MS '19
Barrington HS '23
User avatar
Unome
Moderator
Moderator
Posts: 4310
Joined: January 26th, 2014, 12:48 pm
Division: Grad
State: GA
Has thanked: 213 times
Been thanked: 73 times

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by Unome »

MadCow2357 wrote: September 21st, 2019, 11:47 am
samy-oak-tree wrote: September 21st, 2019, 10:15 am
MadCow2357 wrote: September 21st, 2019, 8:19 am Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
Just finished making it into a bookmarklet!
Here's the instructions: https://nepaltechguy2.github.io/scioly- ... ookmarklet

It's not as convenient as the extension, but it works. You do need to click on it per page you want it to activate on, but at least you can use it! I also added a proxy for images into that too (in case your school blocks imgur or something else).
Working pretty well so far but the image proxy doesn't work for me (imgur doesn't show up).

Also, the infinite scroll seemed to load all the posts on a topic once and on another instance, it seemed to only load one page of posts at a time. Thoughts on why perhaps?
Newest post links will manually set a start point, perhaps this is your problem.
Userpage
Chattahoochee High School Class of 2018
Georgia Tech Class of 2022

Opinions expressed on this site are not official; the only place for official rules changes and FAQs is soinc.org.
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

MadCow2357 wrote: September 21st, 2019, 11:47 am
samy-oak-tree wrote: September 21st, 2019, 10:15 am
MadCow2357 wrote: September 21st, 2019, 8:19 am Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
Just finished making it into a bookmarklet!
Here's the instructions: https://nepaltechguy2.github.io/scioly- ... ookmarklet

It's not as convenient as the extension, but it works. You do need to click on it per page you want it to activate on, but at least you can use it! I also added a proxy for images into that too (in case your school blocks imgur or something else).
Working pretty well so far but the image proxy doesn't work for me (imgur doesn't show up).

Also, the infinite scroll seemed to load all the posts on a topic once and on another instance, it seemed to only load one page of posts at a time. Thoughts on why perhaps?
It loads the next up to 15 posts at a time (max once every 2.5 seconds), so the servers (and your browser) don't get overwhelmed. In some cases, there are less than 15 posts so it just loads all of them.

@Unome: I believe it worked with manually set start points, send me a link if it doesn't work!
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

MadCow2357 wrote: September 21st, 2019, 11:47 am
samy-oak-tree wrote: September 21st, 2019, 10:15 am
MadCow2357 wrote: September 21st, 2019, 8:19 am Very nice job! My school blocked extensions but I'll definitely use the bookmark when it comes out. I have some suggestions you could try implementing but not sure how much of the formats you can change on scioly.org since it runs on a specific forum program.
Just finished making it into a bookmarklet!
Here's the instructions: https://nepaltechguy2.github.io/scioly- ... ookmarklet

It's not as convenient as the extension, but it works. You do need to click on it per page you want it to activate on, but at least you can use it! I also added a proxy for images into that too (in case your school blocks imgur or something else).
Working pretty well so far but the image proxy doesn't work for me (imgur doesn't show up).

Also, the infinite scroll seemed to load all the posts on a topic once and on another instance, it seemed to only load one page of posts at a time. Thoughts on why perhaps?
The method I was proxying the requests (via duckduckgo) wasn't working too well, so I'm setting up my own proxy server right now.
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

Triple post!

The bookmarklet now supports proxying of all images, and there's no need to update your bookmark!

Bookmarklet should have very little issues compared to the extension, and actually updates quicker (it takes a day for an extension to update).

I set up an image proxy through Cloudflare's workers, so I can always automatically change the domain if it gets blocked at your school. There is a limit of 100k free worker responses/day, but I don't think we will hit that.
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
User avatar
MadCow2357
Exalted Member
Exalted Member
Posts: 774
Joined: November 19th, 2017, 9:09 am
Division: C
State: RI
Has thanked: 211 times
Been thanked: 56 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by MadCow2357 »

samy-oak-tree wrote: September 21st, 2019, 4:18 pm Triple post!

The bookmarklet now supports proxying of all images, and there's no need to update your bookmark!

Bookmarklet should have very little issues compared to the extension, and actually updates quicker (it takes a day for an extension to update).

I set up an image proxy through Cloudflare's workers, so I can always automatically change the domain if it gets blocked at your school. There is a limit of 100k free worker responses/day, but I don't think we will hit that.
Image proxy doesn't seem to be working for me, and the scioly.org logo on the top of the webpage also disappeared, being replaced by one of those "image icons".
MadCow2357's Userpage
Gallagher MS '19
Barrington HS '23
User avatar
samy-oak-tree
Gallery Moderator
Gallery Moderator
Posts: 16
Joined: March 17th, 2019, 5:34 pm
Division: C
State: SD
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: Hide Tags Working [Better Scioly.org Extension]!

Post by samy-oak-tree »

MadCow2357 wrote: September 21st, 2019, 7:42 pm
samy-oak-tree wrote: September 21st, 2019, 4:18 pm Triple post!

The bookmarklet now supports proxying of all images, and there's no need to update your bookmark!

Bookmarklet should have very little issues compared to the extension, and actually updates quicker (it takes a day for an extension to update).

I set up an image proxy through Cloudflare's workers, so I can always automatically change the domain if it gets blocked at your school. There is a limit of 100k free worker responses/day, but I don't think we will hit that.
Image proxy doesn't seem to be working for me, and the scioly.org logo on the top of the webpage also disappeared, being replaced by one of those "image icons".
Can you go to https://sci-oly.eggs.workers.dev/?u=htt ... om/640/400 and let me know what you see? If that's blocked, I'll have to find another solution. If you see a cat, there are probably other problems.
Brookings High School 2017-2021, captain 2018-2021
State gold medals: 2016: Microbe Mission; 2019: Designer Genes, Circuit Lab, Fermi Questions; 2021: Ornithology, Designer Genes, Astronomy, Codebusters, Detector Building
Post Reply

Return to “General Chat”

Who is online

Users browsing this forum: No registered users and 5 guests