rmcgirr83 / elonw Goto Github PK
View Code? Open in Web Editor NEWSmall easy phpBB extension that will allow the injection of js script to open external links in new browser window
License: GNU General Public License v2.0
Small easy phpBB extension that will allow the injection of js script to open external links in new browser window
License: GNU General Public License v2.0
Is not compatible with very popular bbcode media (https://www.phpbb.com/customise/db/bbcode/media/)
Please fix.
It looked like it works but now it stoped working, or never did.
Is there a way that I can change something in this code to open in a new tab rather than a window? If there is what exact code? I don't know PHP so I need the exact code changes needed. Thanks.
This extension breaks this http://www.phpbbguru.net/community/viewtopic.php?t=36630 [video] bbcode.
Hi,
I have activated your extension version 1.0.1 for phpbb 3.1 all work fine.
Also in the red notice like here: https://forum.peopleinside.it/viewforum.php?f=2 but on new topic I create link are not open in new window:
https://forum.peopleinside.it/viewforum.php?f=9
Hi @rmcgirr83,
i discovered this potiential issue: https://mathiasbynens.github.io/rel-noopener/.
Do you know?
whatwg/html#290
https://developers.google.com/web/tools/lighthouse/audits/noopener
https://html.spec.whatwg.org/multipage/links.html#link-type-noopener
On these pages, it proposed to use this kind of codes:
var otherWindow = window.open();
otherWindow.opener = null;
otherWindow.location = URL;
var nouvelOnglet = window.open('https://www.google.fr', '_blank');
nouvelOnglet.opener = undefined;
Browser compliance: https://caniuse.com/#search=noopener & https://caniuse.com/#search=noreferrer
The future solution: https://www.w3.org/TR/CSP/#directive-disown-opener?
What do you think?
Hi @rmcgirr83,
after activated your extension with the latest snapshot, your last commits seems to be the reason.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.