Похожие чаты

Hi ! I have a weird situation and can't seem to

figure out a solution :
I have a personal webapp, wherein I've embedded links to leetcode problems

Sample link: https://leetcode.com/problems/two-sum/

What I want to achieve is, assuming I've already solved the particular question on leetcode, i want to clear the text inside leetcode's code editor (i.e. the solution to the leetcode problem) as soon as the page loads.

i.e first i click on a leetcode problem link available on my personal webapp -> leetcode page is rendered -> all the text inside leetcode's code editor (the solution) gets cleared.

I read a while ago that we can run javascript from the url, so i thought of appending some js at the end of the leetcode link itself, so that once the user clicks on the link, the js executes and clears the concerned text.
But it seems like this feature is removed now, as i tried to run some simple js from the url but it didn't execute.

My guess is that I'll probably have to create an extension for this.
Keeping chrome extension as the last resort, is there any other way to achieve this ?

1 ответов

10 просмотров

Extension would be best

Похожие вопросы

Обсуждают сегодня

Комрады, посоветуйте, куда копать? Стал прикручивать кастомизацию тем. В OnShow главной главной формы пытаюсь загрузить из файла настроек и применить тему (на скрине, как долж...
Ed Doc
13
Какие дистрибутивы Linux чаще всего работают в качестве серверов и почему?
Alex
27
OnShow один раз вызывается? или возможен Hide?
Iluha Companets
14
Такс, блин, таки кто-то знает, каким образом работают макросы stdin/stdout/stderr? Я влез в stdio.h, там определения нет, отладил через асмокод - вызывается функция со странны...
The Bird of Hermes
18
коллеги привет. уже второй день бьемся об заклад с одной ошибкой, может вы сталкивались с таки странным поведением? есть тестовый сервер, на который паблишим релизную версию W...
Magzhan
2
Ребят, привет! Я портируюсь с войда на генту Читаю гентувики В разделе про разбивку диска указана xfs файловая система, а не ext4, как обычно Xfs имеет какие-то преимущества ...
Андрей Дыбов
21
А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
Lol is just wrote a long text about tokenomics etc and it was directly deleted, no curses or similar so i write it again in shorter. Hey Ben 600m eco system tokens, around 30...
. Duss
6
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
40
Карта сайта